﻿body, label, input, button, select, textarea {
    font-family: "Source Sans 3", sans-serif;
}


#forms {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 5px;
}

.login-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #555;
    text-align: center;
    margin: 0;
}

.legal-text {
    font-size: 13px;
    color: #555;
    margin-top: 15px;
    line-height: 1.6;
    text-align: left;
}
    .gender-options {
                    display: flex;
                        gap: 9px;
                    margin-bottom: 8px;
                    margin-top: 1px;
                    flex-wrap: wrap;
                }

                .gender-option {
                    position: relative;
                    padding-left: 30px;
                    cursor: pointer;
                    font-size: 16px;
                    user-select: none;
                    color: #333;
                }

                    .gender-option input {
                        position: absolute;
                        opacity: 0;
                        cursor: pointer;
                    }

                .checkmark {
                    position: absolute;
                    top: 1px;
                    left: 0;
                    height: 18px;
                    width: 18px;
                    background-color: #fff;
                    border: 2px solid #aaa;
                    border-radius: 50%;
                    transition: 0.2s;
                }

                .gender-option input:checked ~ .checkmark {
                    border-color: #ef5526;
                    background-color: #ef5526;
                }

                .checkmark:after {
                    content: "";
                    position: absolute;
                    display: none;
                }

                .gender-option input:checked ~ .checkmark:after {
                    display: block;
                }

                .gender-option .checkmark:after {
                    top: 4px;
                    left: 4px;
                    width: 6px;
                    height: 6px;
                    border-radius: 50%;
                    background: white;
                }
    .legal-text a {
 
        font-weight: 600;
        text-decoration: none;
    }

        .legal-text a:hover {
            text-decoration: underline;
        }

@media screen and (max-width: 480px) {
    .login-wrapper {
        padding: 20px 10px;
        justify-content: center;
        min-height: 100vh; 
    }

    .form-container {
        width: 100%;
        max-width: none;
        border: none;
        border-radius: 0;
        padding: 20px;
        box-shadow: none;
        margin-top: auto;
        margin-bottom: auto;
    }
}

.login-logo img {
    max-width: 250px;
    margin-bottom: 30px;
}

.form-switch-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 30px;
}

.switcher {
    background: none;
    border: none;
    font-weight: 600;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    color: #555;
    position: relative;
}

    .switcher.active {
        color: #ef5526;
    }

        .switcher.active::after {
            content: '';
            height: 3px;
            background-color: #ef5526;
            width: 100%;
            position: absolute;
            bottom: -5px;
            left: 0;
        }

.form-container {
    width: 100%;
    max-width: 400px;
    background-color: transparent; 
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px;
    box-shadow: none; 
}
.form-card {
    display: flex;
    flex-direction: column;
}

  

    .form-card input[type="text"],
    .form-card input[type="email"],
    .form-card input[type="password"],
    .form-card input[type="tel"] {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        margin-bottom: 20px;
        width: 100%;
        background: #f1f7fa;
    }

.password-input {
    position: relative;
}

    .password-input i {
        position: absolute;
        right: 10px;
        top: 12px;
        cursor: pointer;
        color: #666;
    }

.btn-primary {
    background-color: #ef5526;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

    .btn-primary:hover {
        background-color: #ef5526;
    }

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;

}

a {
    font-size: 14px;
    color: #ef5526;
    text-decoration: none;

}

    a:hover {
        text-decoration: underline;
    }

.btn-secondary {
    background-color: #ef5526;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    transition: background 0.3s;
}

    .btn-secondary:hover {
        background-color: #ef5526;
        color: white;
    }
.password-input {
    position: relative;
}

    .password-input input {
        padding-right: 35px;
    }

    .password-input .toggle-password {
        position: absolute;
        right: 10px;
        top: 30%;
        transform: translateY(-50%);
        color: #888;
        cursor: pointer;
        font-size: 16px; 
        line-height: 1;
        height: 100%;
        display: flex;
        align-items: center;
    }


#lockout-message {
    display: none;
    background-color: #fff4f4;
    border: 2px solid #ffaaaa;
    border-radius: 12px;
    padding: 30px;
    margin: 20px auto;
    text-align: center;
    max-width: 400px;
    animation: fadeIn 0.5s ease-in-out;
}

#lockout-message h3 {
    color: #d8000c;
    font-size: 20px;
    margin-bottom: 10px;
}

#lockout-message p {
    font-size: 16px;
    color: #333;
}

#countdown {
    font-weight: bold;
    color: #d8000c;
    font-size: 24px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    

#forms,
#lockout-message {
    transition: all 0.3s ease;
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}



.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden; 
    padding: 20px;
    border-radius: 12px;
    top : -100px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
}
@media (max-width: 768px) {
    .modal-content {
        top: unset;
    }
}
    .pdf-canvas-container canvas {
        max-width: 100% !important;
        height: auto !important;
        display: block;
        margin: 0 auto;
    }

    .modal-content h2 {
        text-align: center;
        margin-top: 0;
    }

    .modal-content .close {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 22px;
        font-weight: bold;
        cursor: pointer;
    }
