/* 
* KDP Keyword Tool - Global Styles
* -------------------------------------------------- 
*/
.akkt-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #333;
    line-height: 1.6;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.akkt-intro h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a202c;
    text-align: center;
    margin-bottom: 10px;
}

.akkt-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    text-align: center;
    margin-bottom: 40px;
}

/* 
* Keyword Tool Container
* -------------------------------------------------- 
*/
.keyword-tool-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.widget-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
}

.keyword-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#seed-keyword {
    flex-grow: 1;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#seed-keyword:focus {
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-primary {
    background: #007BFF;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

/* Loading and Results */
#loading-indicator {
    text-align: center;
    padding: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #007BFF, #00C6FF);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

#results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#results-table th, #results-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

#results-table th {
    font-weight: 700;
    color: #2d3748;
    background-color: #f7fafc;
}

#results-table tbody tr:hover {
    background: #f1f5f9;
}

.check-link {
    font-weight: 500;
    color: #007BFF;
    text-decoration: none;
}

.check-link:hover {
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

/* Results Footer & CTA */
.results-footer {
    margin-top: 20px;
}

.info-note {
    background-color: #f8fafc;
    border-left: 4px solid #64748b;
    padding: 15px;
    font-size: 0.9rem;
    color: #475569;
    border-radius: 0 4px 4px 0;
}

.signup-cta {
    text-align: center;
    padding: 30px;
    margin-top: 20px;
    border: 2px dashed #007BFF;
    border-radius: 12px;
    background-color: #f0f7ff;
}

.signup-cta h3 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-top: 0;
}

.signup-cta p {
    color: #4a5568;
    margin-bottom: 20px;
}

.signup-cta .btn {
    margin-right: 10px;
}

.login-link {
    display: inline-block;
    margin-top: 10px;
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
}

.login-link:hover {
    text-decoration: underline;
}


/* 
* SEO Content Sections
* -------------------------------------------------- 
*/
.akkt-seo-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-top: 50px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.akkt-seo-content ul, .akkt-seo-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.akkt-seo-content li {
    margin-bottom: 10px;
    color: #4a5568;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 20px;
    border-left: 3px solid #007BFF;
    padding-left: 20px;
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
}

/* CTA and Sharing */
.akkt-cta {
    text-align: center;
    background: #007BFF;
    color: white;
    padding: 40px;
    border-radius: 16px;
    margin-top: 50px;
}

.akkt-cta h2 {
    color: white;
    border-bottom: none;
    margin-top: 0;
}

.akkt-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.share-btn {
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: scale(1.05);
}

.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter { background-color: #1da1f2; }
.share-btn.linkedin { background-color: #0077b5; }

/* Footer */
.akkt-footer {
    text-align: center;
    margin-top: 40px;
    color: #6b7280;
    font-size: 0.9rem;
}

.akkt-footer a {
    color: #007BFF;
    text-decoration: none;
}

.akkt-footer a:hover {
    text-decoration: underline;
}

.akkt-disclaimer {
    font-size: 0.8rem;
    font-style: italic;
    color: #6b7280;
    margin-top: 10px;
}

/*
* Full-Width Page Overrides
* --------------------------------------------------
* These styles will only apply to the page with the shortcode.
* You may need to inspect your theme and add its specific selectors here.
*/
.akkt-full-width-page #masthead,
.akkt-full-width-page .site-header, /* Common header selectors */
.akkt-full-width-page #secondary,
.akkt-full-width-page .widget-area, /* Common sidebar selectors */
.akkt-full-width-page #sidebar {
    display: none !important;
}

.akkt-full-width-page #primary,
.akkt-full-width-page #main,
.akkt-full-width-page .site-main,
.akkt-full-width-page .content-area, /* Common content area selectors */
.akkt-full-width-page .site-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Adjust the tool container margin when full-width */
.akkt-full-width-page .akkt-container {
    margin: 0 auto;
    padding-top: 40px; /* Add some space at the top */
}