/**
 * WP Admin Verification - CSS
 * Doğrulama ekranı stilleri
 */

/* Overlay (Tam ekran karartma) */
.wp-admin-verification-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    backdrop-filter: blur(5px);
}

/* Overlay aktif olduğunda flex yap */
.wp-admin-verification-overlay {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* Modal container */
.wp-admin-verification-modal {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 50px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideInDown 0.4s ease-out;
    position: relative;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WordPress logo ve uyarı ikonu */
.verification-icon {
    position: relative;
    margin-bottom: 20px;
    display: inline-block;
}

.verification-icon img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.2));
}

.verification-alert {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Başlık */
.wp-admin-verification-modal h2 {
    color: #0073aa;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

/* Açıklama metni */
.verification-instructions {
    color: #555;
    font-size: 15px;
    margin-bottom: 20px;
}

/* Adımlar */
.verification-steps {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.verification-step {
    padding: 12px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid #e9ecef;
}

.verification-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.verification-step strong {
    color: #0073aa;
    margin-right: 8px;
    font-weight: 600;
}

/* Klavye tuşları */
.verification-step kbd {
    display: inline-block;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    border: 2px solid #999;
    border-bottom: 3px solid #666;
    border-radius: 6px;
    box-shadow: 0 3px 0 #666, 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 4px;
    min-width: 35px;
    text-align: center;
    font-family: Arial, sans-serif;
}

/* Windows tuşu özel stil */
.verification-step kbd:first-of-type {
    font-size: 20px;
    padding: 8px 14px;
    background: linear-gradient(180deg, #fff 0%, #e0e0e0 100%);
    border-color: #0073aa;
    border-bottom-color: #005a87;
    box-shadow: 0 3px 0 #005a87, 0 4px 10px rgba(0, 115, 170, 0.3);
    color: #0073aa;
}

/* Doğrulama kodu container */
.verification-code-container {
    position: relative;
    margin-bottom: 25px;
}

#verification-code-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: 2px solid #0073aa;
    border-radius: 8px;
    background: #f0f8ff;
    color: #0073aa;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#verification-code-input:hover {
    background: #e6f3ff;
    border-color: #005a87;
}

#verification-code-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/* Kopyalandı bildirimi */
.copied-notification {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.copied-notification::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #28a745;
}

.copied-notification.show {
    opacity: 1;
    visibility: visible;
    top: -40px;
}

/* Finish Verification butonu */
.finish-verification-btn {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
    text-transform: capitalize;
    min-width: 220px;
}

.finish-verification-btn:hover {
    background: linear-gradient(135deg, #005a87 0%, #004066 100%);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
    transform: translateY(-2px);
}

.finish-verification-btn:active,
.finish-verification-btn.clicked {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(0, 115, 170, 0.3);
}

.finish-verification-btn.success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Click sayacı */
.click-counter {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    color: #666;
    font-size: 14px;
}

.click-counter strong {
    color: #0073aa;
    font-size: 18px;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .wp-admin-verification-modal {
        padding: 30px 25px;
        width: 95%;
    }

    .wp-admin-verification-modal h2 {
        font-size: 24px;
    }

    .verification-step {
        font-size: 13px;
    }

    .finish-verification-btn {
        padding: 12px 30px;
        font-size: 14px;
        min-width: 180px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .wp-admin-verification-modal {
        animation: none;
    }

    .copied-notification,
    .finish-verification-btn {
        transition: none;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .wp-admin-verification-overlay {
        background-color: rgba(0, 0, 0, 0.92);
    }
}