.seo-center-keyword-container {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.seo-center-secret-key-form {
    max-width: 100%;
}

.seo-center-secret-standout {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(17, 153, 142, 0.3);
    overflow: hidden;
}

.seo-center-secret-instruction {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.seo-center-secret-description {
    margin-bottom: 20px;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.seo-center-secret-description > :last-child {
    margin-bottom: 0;
}

.seo-center-secret-form {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 !important;
}

.seo-center-secret-input {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    height: 40px;
    padding: 0 16px;
    margin: 0 !important;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.seo-center-secret-input:focus {
    outline: none;
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.seo-center-secret-submit {
    margin: 0 !important;
    height: 40px;
    padding: 0 24px !important;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.seo-center-keyword-container .dass-copy-keyword-btn,
.seo-center-secret-description .dass-copy-keyword-btn,
.seo-center-keyword-content .dass-copy-keyword-btn,
.seo-center-keyword-container .epds-copy-keyword-btn,
.seo-center-secret-description .epds-copy-keyword-btn,
.seo-center-keyword-content .epds-copy-keyword-btn {
    all: revert;
    background: #5050ff !important;
    color: #ffffff !important;
    border: 1px solid #5050ff !important;
    border-radius: 4px !important;
    padding: 4px 8px !important;
    margin: 0 0 0 6px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.2s ease !important;
    font-size: 12px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.seo-center-keyword-container .dass-copy-keyword-btn svg,
.seo-center-secret-description .dass-copy-keyword-btn svg,
.seo-center-keyword-content .dass-copy-keyword-btn svg,
.seo-center-keyword-container .epds-copy-keyword-btn svg,
.seo-center-secret-description .epds-copy-keyword-btn svg,
.seo-center-keyword-content .epds-copy-keyword-btn svg {
    all: revert-layer !important;
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
    display: block !important;
    fill: none !important;
    pointer-events: none !important;
}

.seo-center-keyword-container .dass-copy-keyword-btn svg path,
.seo-center-secret-description .dass-copy-keyword-btn svg path,
.seo-center-keyword-content .dass-copy-keyword-btn svg path,
.seo-center-keyword-container .epds-copy-keyword-btn svg path,
.seo-center-secret-description .epds-copy-keyword-btn svg path,
.seo-center-keyword-content .epds-copy-keyword-btn svg path {
    all: revert-layer !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.5 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.seo-center-keyword-container .dass-copy-keyword-btn:hover,
.seo-center-secret-description .dass-copy-keyword-btn:hover,
.seo-center-keyword-content .dass-copy-keyword-btn:hover,
.seo-center-keyword-container .epds-copy-keyword-btn:hover,
.seo-center-secret-description .epds-copy-keyword-btn:hover,
.seo-center-keyword-content .epds-copy-keyword-btn:hover {
    background-color: #4040cc !important;
    border-color: #4040cc !important;
    transform: scale(1.05) !important;
}

.seo-center-keyword-container .dass-copy-keyword-btn.dass-copy-success,
.seo-center-secret-description .dass-copy-keyword-btn.dass-copy-success,
.seo-center-keyword-content .dass-copy-keyword-btn.dass-copy-success,
.seo-center-keyword-container .epds-copy-keyword-btn.dass-copy-success,
.seo-center-secret-description .epds-copy-keyword-btn.dass-copy-success,
.seo-center-keyword-content .epds-copy-keyword-btn.dass-copy-success {
    background-color: #27ae60 !important;
    border-color: #27ae60 !important;
    color: #ffffff !important;
}

.seo-center-keyword-container .dass-copy-keyword-btn.dass-copy-error,
.seo-center-secret-description .dass-copy-keyword-btn.dass-copy-error,
.seo-center-keyword-content .dass-copy-keyword-btn.dass-copy-error,
.seo-center-keyword-container .epds-copy-keyword-btn.dass-copy-error,
.seo-center-secret-description .epds-copy-keyword-btn.dass-copy-error,
.seo-center-keyword-content .epds-copy-keyword-btn.dass-copy-error {
    background-color: #e74c3c !important;
    border-color: #e74c3c !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .seo-center-keyword-container .dass-copy-keyword-btn,
    .seo-center-secret-description .dass-copy-keyword-btn,
    .seo-center-keyword-content .dass-copy-keyword-btn,
    .seo-center-keyword-container .epds-copy-keyword-btn,
    .seo-center-secret-description .epds-copy-keyword-btn,
    .seo-center-keyword-content .epds-copy-keyword-btn {
        margin-left: 5px !important;
        padding: 3px 6px !important;
        font-size: 11px !important;
    }

    .seo-center-keyword-container .dass-copy-keyword-btn svg,
    .seo-center-secret-description .dass-copy-keyword-btn svg,
    .seo-center-keyword-content .dass-copy-keyword-btn svg,
    .seo-center-keyword-container .epds-copy-keyword-btn svg,
    .seo-center-secret-description .epds-copy-keyword-btn svg,
    .seo-center-keyword-content .epds-copy-keyword-btn svg {
        all: revert-layer !important;
        width: 12px !important;
        height: 12px !important;
        display: block !important;
    }
}

.seo-center-secret-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #FF8E53 0%, #FFB347 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 142, 83, 0.4);
}

.seo-center-secret-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.seo-center-secret-message {
    width: 100%;
    text-align: center;
    margin-top: 5px;
}

.seo-center-secret-message .error {
    color: #ffffff;
    font-size: 14px;
    padding: 12px 20px;
    background-color: rgba(244, 67, 54, 0.9);
    border-radius: 8px;
    display: inline-block;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

.seo-center-secret-message .success {
    color: #ffffff;
    font-size: 14px;
    padding: 12px 20px;
    background-color: rgba(76, 175, 80, 0.9);
    border-radius: 8px;
    display: inline-block;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.seo-center-keyword-content {
    animation: fadeIn 0.5s ease-in;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.seo-center-keyword-content h1,
.seo-center-keyword-content h2,
.seo-center-keyword-content h3,
.seo-center-keyword-content h4,
.seo-center-keyword-content h5,
.seo-center-keyword-content h6 {
    color: #333333;
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.seo-center-keyword-content h1 { font-size: 28px; }
.seo-center-keyword-content h2 { font-size: 24px; }
.seo-center-keyword-content h3 { font-size: 20px; }
.seo-center-keyword-content h4 { font-size: 18px; }

.seo-center-keyword-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #ffffff;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.seo-center-keyword-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.seo-center-keyword-content ul,
.seo-center-keyword-content ol {
    margin: 15px 0;
    padding-left: 30px;
    color: #555555;
}

.seo-center-keyword-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.seo-center-keyword-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-left: 4px solid #667eea;
    border-radius: 4px;
    font-style: italic;
    color: #444444;
}

.seo-center-keyword-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #d63384;
}

.seo-center-keyword-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.seo-center-keyword-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.seo-center-keyword-content a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.seo-center-keyword-content a:hover {
    color: #ffffff;
    text-decoration: none;
}


.seo-center-keyword-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.seo-center-keyword-content th {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.seo-center-keyword-content td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.seo-center-keyword-content tr:last-child td {
    border-bottom: none;
}

.seo-center-keyword-content tr:nth-child(even) {
    background: #f9f9f9;
}

.seo-center-success-message {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-radius: 12px;
    margin: 20px 0;
    color: white;
}

.seo-center-success-message p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
}

.seo-center-download-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to right, #ff9966, #ff5e62);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 94, 98, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.seo-center-download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.seo-center-download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 94, 98, 0.6);
    color: #ffffff;
    text-decoration: none;
}

.seo-center-download-button:hover::before {
    left: 100%;
}

.seo-center-download-button .download-icon {
    flex-shrink: 0;
}

.seo-center-download-button .button-text {
    position: relative;
    z-index: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Responsive design */
@media (max-width: 600px) {
    .seo-center-keyword-container {
        padding: 15px;
    }
    
    .seo-center-secret-standout {
        padding: 15px;
    }
    
    .seo-center-secret-instruction {
        font-size: 16px;
    }
    
    .seo-center-secret-description {
        font-size: 14px;
        padding: 15px;
    }
    
    .seo-center-secret-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .seo-center-secret-input {
        font-size: 14px;
        width: 100%;
        max-width: 100%;
        min-width: auto;
        box-sizing: border-box;
    }
    
    .seo-center-secret-submit {
        font-size: 14px;
        width: 100%;
        padding: 14px 20px;
    }

    .seo-center-download-button {
        padding: 12px 25px;
        font-size: 14px;
        box-shadow: 0 4px 12px rgba(255, 94, 98, 0.4);
    }

    .seo-center-download-button .download-icon {
        width: 20px;
        height: 20px;
    }
}

.seo-center-popup-wrapper {
    display: inline-block;
    position: relative;
}

.seo-center-popup-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 8px 22px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.seo-center-popup-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.45);
}

.seo-center-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}

.seo-center-popup.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.seo-center-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
}

.seo-center-popup-dialog {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    max-width: 720px;
    width: calc(100% - 40px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1;
}

.seo-center-popup.is-active .seo-center-popup-dialog {
    transform: translateY(0);
    opacity: 1;
}

.seo-center-popup-body .seo-center-keyword-container {
    margin: 0;
}

.seo-center-popup-close {
    position: absolute;
    top: 24px;
    right: 32px;
    border: none;
    background: transparent;
    color: #1f2937;
    font-size: 32px;
    line-height: 32px;
    height: 32px;
    min-height: unset;
    margin: 0;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.seo-center-popup-close:hover {
    color: #4338ca;
    transform: scale(1.05);
}

body.seo-center-popup-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .seo-center-popup-dialog {
        border-radius: 14px;
    }

    .seo-center-popup-trigger {
        width: 100%;
        border-radius: 16px;
        padding: 10px 18px;
    }

}
