﻿/* Existing styles */
.card-login {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 20px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.card-header {
    background-color: white;
    border-bottom: none;
    padding-top: 1.5rem;
}

.card-body {
    padding: 2rem;
    background-color: white;
}

.login-error {
    margin-bottom: 1rem;
}

.btn-primary {
    font-weight: 500;
    border-radius: 30px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    border-color: #80bdff;
}

.form-group input {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .modal-content h2 {
        color: #333;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        font-weight: 600;
    }

    .modal-content p {
        color: #666;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .modal-content .form-group {
        margin-bottom: 1.5rem;
    }

    .modal-content label {
        display: block;
        margin-bottom: 0.5rem;
        color: #333;
        font-weight: 500;
    }

    .modal-content input {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

        .modal-content input:focus {
            box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
            border-color: #80bdff;
            outline: none;
        }

    .modal-content .button-group {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
    }

    .modal-content .btn {
        min-width: 120px;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.2s ease;
    }

    .modal-content .btn-primary {
        background-color: #007bff;
        border-color: #007bff;
        color: white;
    }

        .modal-content .btn-primary:hover {
            background-color: #0056b3;
            border-color: #0056b3;
        }

    .modal-content .btn-secondary {
        background-color: #fff;
        border: 1px solid #ddd;
        color: #666;
    }

        .modal-content .btn-secondary:hover {
            background-color: #f8f9fa;
            border-color: #ddd;
        }

.validation-error,
.validation-warning,
.validation-success {
    padding: 0.75rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
}

.validation-error {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    color: #cf1322;
}

.validation-warning {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    color: #ad6800;
}

.validation-success {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #389e0d;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

#smsGenerationModal{
    height:100vh;
}

#smsGenerationModal .modal-content{
    width:100%;
    max-width:500px;
    margin-top:15px;
}

    #smsGenerationModal .modal-content .form-group{
        margin-bottom:0.5rem;
        gap:5px;
    }

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.google-btn {
    background-color: white;
    color: #333;
    border-color: #ddd;
}

    .google-btn:hover {
        background-color: #f8f9fa;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

.facebook-btn {
    background-color: #1877F2;
    color: white;
    border-color: #1877F2;
}
.social-login-section{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
}

.facebook-btn:hover {
    background-color: #166fe5;
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.3);
}

.social-icon {
    width: 20px;
    height: 20px;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}