/* Password Reset Page Specific Styles */

/* Sayfa animasyonu */
body.password-reset-page {
    animation: fadeIn 0.8s ease-out;
}

/* Form container özel stilleri */
.password-reset-container .login-form-container {
    animation: slideInRight 0.8s ease-out;
}

.password-reset-container .brand-content {
    animation: slideInLeft 0.8s ease-out;
}

/* Input field özel stilleri */
.tc-input {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

    .tc-input:focus {
        background: #ffffff;
        border-color: #28a745;
        box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
    }

.phone-input {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

    .phone-input:focus {
        background: #ffffff;
        border-color: #17a2b8;
        box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
    }

/* Captcha container */
.captcha-container {
    margin: 1.5rem 0;
    text-align: center;
}

.captcha-image {
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.captcha-refresh {
    color: #667eea;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-left: 10px;
}

    .captcha-refresh:hover {
        color: #764ba2;
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

/* Form field focus states */
.form-group:focus-within label {
    color: #667eea;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Input icons özel animasyonları */
.input-with-icon:focus-within .input-icon {
    color: #667eea;
    transform: translateY(-50%) scale(1.1);
    transition: all 0.3s ease;
}

/* Submit button özel stilleri */
.password-reset-submit {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    position: relative;
    overflow: hidden;
}

    .password-reset-submit:hover {
        background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
        box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    }

    .password-reset-submit:active {
        transform: translateY(1px);
    }

    /* Loading state */
    .password-reset-submit.loading {
        color: transparent;
    }

        .password-reset-submit.loading::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-left: -10px;
            margin-top: -10px;
            border: 2px solid #ffffff;
            border-radius: 50%;
            border-top-color: transparent;
            animation: spin 1s linear infinite;
        }

/* Error state animasyonları */
.form-group.error .form-control {
    animation: shake 0.5s ease-in-out;
    border-color: #dc3545;
}

.form-group.error .input-icon {
    color: #dc3545;
    animation: pulse 1s ease-in-out;
}

/* Success state */
.form-group.success .form-control {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-group.success .input-icon {
    color: #28a745;
}

/* Tooltip stilleri */
.field-tooltip {
    position: relative;
    display: inline-block;
}

    .field-tooltip .tooltip-text {
        visibility: hidden;
        width: 200px;
        background-color: #333;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 8px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -100px;
        opacity: 0;
        transition: opacity 0.3s;
        font-size: 0.8rem;
    }

    .field-tooltip:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }

/* Form validation özel stilleri */
.validation-summary {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: slideInDown 0.5s ease-out;
}

/* Progressive enhancement */
.js-enhanced .form-control {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-enhanced .login-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive özel ayarlar */
@media (max-width: 768px) {
    .password-reset-container .brand-content,
    .password-reset-container .login-form-container {
        animation: fadeInUp 0.8s ease-out;
    }

    .captcha-container {
        margin: 1rem 0;
    }

    .field-tooltip .tooltip-text {
        width: 150px;
        margin-left: -75px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .password-reset-submit {
        padding: 12px;
        font-size: 0.9rem;
    }

    .validation-summary {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}
