/* assets/css/forgot-password.css */
:root {
    --primary-color: #0e2332;
    --secondary-color: #1a3f5c;
    --accent-color: #E77D64;
    --text-color: #2c3e50;
    --border-color: #eaeaea;
}

.forgot-password-container {
    width: 100%;
    max-width: 480px;
    margin: 120px auto 40px;
    padding: 0 20px;
    position: relative;
}

.forgot-password-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.forgot-password-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.forgot-password-card .card-header {
    padding: 30px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.forgot-password-card .card-header h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.forgot-password-card .card-body {
    padding: 40px 30px;
}

.form-group label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.forgot-password-card .form-control {
    height: 54px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0 20px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.forgot-password-card .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(231, 125, 100, 0.1);
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid var(--border-color);
    border-left: none;
    color: var(--text-color);
}

.forgot-password-card .btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #e45d42);
    height: 54px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.forgot-password-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 125, 100, 0.3);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.forgot-password-card .alert {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-danger {
    background: #fff5f5;
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

.alert-success {
    background: #f0fff4;
    color: #28a745;
    border-left: 4px solid #28a745;
}

.form-text {
    color: #6c757d;
    font-size: 13px;
    margin-top: 8px;
}

@media (max-width: 576px) {
    .forgot-password-container {
        margin: 80px auto 20px;
    }
    
    .forgot-password-card .card-body {
        padding: 30px 20px;
    }
    
    .forgot-password-card .form-control, 
    .forgot-password-card .btn-primary {
        height: 50px;
    }
}

/* Add to forgot-password.css */
.action-buttons {
    margin-top: 30px;
}

.btn-reset {
    background: linear-gradient(135deg, #0e2332 0%, #1a3f5c 100%);
    color: white;
    height: 54px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-reset:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.btn-reset:hover:before {
    left: 100%;
}

.btn-reset:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(14, 35, 50, 0.2);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 24px;
    color: #0e2332;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    text-decoration: none;
}

.btn-back i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn-back:hover {
    background: rgba(14, 35, 50, 0.05);
    color: #E77D64;
}

.btn-back:hover i {
    transform: translateX(-4px);
}
