﻿    

    .wrapper {
        background-color: white;
        border-radius: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        text-align: center;
        width: 400px;
        max-width: 80vw;
        min-width: 20vw;
    }

    

        .login-btn button:hover,
        button[type="submit"]:hover {
            opacity: 0.8;
        }

    .form-container {
        margin-top: 20px;
    }

    .field {
        margin: 15px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .name, .password {
        width: 100%;
        border-radius: 5px;
        display: flex;
    }

        .name i, .password i {
            padding: 11px;
            background-color: rgb(236, 228, 228);
            border: 1px solid #9d5b1c;
        }

        .name input, .password input {
            border: 1px solid #9d5b1c;
            font-size: 1rem;
            width: 100%;
        }

            .name input:focus, .password input:focus {
                outline: none;
            }

    .password {
        position: relative;
    }

        .password input {
            padding-right: 40px;
        }

    #togglePassword {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: gray;
        background: none;
        border: none;
    }

    .Departmentname {
        text-align: center;
        margin-bottom: 0;
        margin-top: -15px;
        white-space: nowrap;
    }

    .Departmentname1 {
        text-align: center;
        padding: 1px;
        color: #9d5b1c;
        font-weight: bold;
        background-color: #dddada69;
        border-radius: 10px;
    }

    ul {
        color: red;
        text-align: start;
    }

    .captcha-box {
        font-weight: bold;
        font-size: 18px;
        border: 1px solid #9D5B1C;
        padding: 10px 20px;
        display: inline-block;
        min-width: 130px;
        text-align: center;
    }

    .captcha-input {
        font-weight: bold;
        font-size: 18px;
        border: 1px solid #9D5B1C;
        padding: 10px;
        width: 100%;
    }

    .pass-link {
        text-align: right;
        margin: 10px 0;
    }

        .pass-link a {
            font-weight: bold;
            font-size: 17px;
        }

    .modal {
        display: none;
        position: fixed;
        z-index: 999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(3px);
    }

.modal-content {
    border-radius: 15px;
    box-shadow: 0px 8px 32px rgba(255,255,255,0.3);
    padding: 30px 25px;
    width: 400px;
    margin: 5% auto;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    font-family: 'Segoe UI', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

        .modal-content h3 {
            margin-top: 0;
            color: white;
            font-weight: 600;
            text-align: center;
            margin-bottom: 20px;
        }

        .modal-content ul {
            list-style: none;
            padding-left: 0;
        }

            .modal-content ul li {
                margin: 12px 0;
            }

                .modal-content ul li a {
                    text-decoration: none;
                    color: #333;
                    font-size: 1.05rem;
                    padding: 10px 15px;
                    display: inline-block;
                    border-radius: 8px;
                    transition: all 0.2s ease;
                    background-color: #f4f4f4;
                }

                    .modal-content ul li a:hover {
                        background-color: #9d5b1c;
                        color: #fff;
                    }

    .close {
        position: absolute;
        top: 12px;
        right: 15px;
        font-size: 26px;
        font-weight: bold;
        color: #999;
        cursor: pointer;
    }

        .close:hover {
            color: #333;
        }

    @keyframes fadeIn {
        from

    {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

    }

    .manual-btn {
        background-color: transparent;
        border: 2px solid #007bff;
        color: #007bff;
        padding: 10px 18px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 6px rgba(0, 123, 255, 0.2);
        font-family: 'Segoe UI', sans-serif;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .manual-btn:hover {
            background: linear-gradient(45deg, #007bff, #0056b3);
            color: white;
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
            transform: translateY(-1px);
        }

