﻿.contact .form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .contact .form-control:focus {
        border-color: #4285f4;
        box-shadow: 0 0 8px rgba(66, 133, 244, 0.3);
        outline: none;
    }

    .contact .form-control.invalid {
        border-color: #dc3545;
    }

.password-container {
    position: relative;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 18px;
}

    .password-toggle:hover {
        color: #4285f4;
    }

.btn-primary {
    background-color: #4285f4;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .btn-primary:hover {
        background-color: #3267d6;
        transform: translateY(-2px);
    }

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

    .section-header h2 a {
        color: #4285f4;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .section-header h2 a:hover {
            color: #3267d6;
            text-decoration: underline;
        }

.form-group {
    margin-bottom: 20px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    font-size: 24px;
    color: #666;
    transition: color 0.3s ease;
}

    .close-modal:hover {
        color: #000;
    }

.otp-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ced4da;
    font-size: 16px;
}

    .otp-input.invalid {
        border-color: #dc3545;
    }

.resend-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    min-width: 200px;
}

.toast {
    background-color: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: translateX(100%);
}

    .toast.show {
        opacity: 1;
        transform: translateX(0);
    }

    .toast.success {
        background-color: #28a745;
        border-left: 4px solid #218838;
    }

    .toast.error {
        background-color: #dc3545;
        border-left: 4px solid #c82333;
    }

@media (max-width: 768px) {
    .contact .form-control {
        padding: 10px;
    }

    .btn-primary {
        width: 100%;
    }

    .modal-content {
        width: 95%;
    }

    .toast-container {
        right: 10px;
        top: 10px;
    }
}
