/* General Styles */
body {
    /*background-color: #f4f6f9;*/
    background-color: antiquewhite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/*html, body {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f2f5;
}*/
.subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #555;
    margin-top: 10px;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: center;
    color:red;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.3px;
}
@media (max-width: 480px) {
    .subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
}


/*.wrapper {
    max-width: 90vw;
    max-height: 90vh;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: auto;
    display: flex;
    justify-content: center;*/ /* center horizontally */
    /*align-items: center;*/ /* center vertically */
    /*box-sizing: border-box;
}*/

.panel-body {
    text-align: center; /* optional: center text */
}

/* Header Styles */
header {
    background-color: #4CAF50;
    padding: 10px 0;
    color: white;
    text-align: center;
    height: 125px;
}

    header nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        font-size: 20px;
    }

        header nav ul li {
            display: inline;
            margin-right: 15px;
            position: relative;
        }

            header nav ul li a {
                color: white;
                text-decoration: none;
            }


.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* Position below the parent */
    left: 0; /* Align with the parent item */
    list-style: none;
    background: #f8f9fa;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    z-index: 1000;
    width: 350px; /* Optional: Set a fixed width */
}

    .dropdown-menu .dropdown-menu {
        top: 0;
        left: 100%; /* Position to the right of the parent dropdown */
        margin-left: 1px; /* Optional: small gap between parent and sub-dropdown */
    }

.dropdown:hover > .dropdown-menu {
    display: block;
}


.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 8px 15px;
    display: block;
    text-decoration: none;
    color: #333;
}

    .dropdown-menu a:hover {
        background: #ddd;
    }
/* Main Content Styles */
main.container {
    padding: 20px;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

/*.wrapper-page {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
}*/

/* Logo Section */
.logo-section {
    margin-bottom: 20px;
}

.logo-img {
    width: 50%;
    max-width: 150px;
}

/* Title Section */
.title-section h2 {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
    margin: 0 0 20px;
    text-align: center;
}

/* Panel */
.panel {
    background: #ffffff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    width: 400px;
    margin-left: 80px;
}

.panel-heading {
    margin-bottom: 20px;
    text-align: center;
    width: 95%;
    background-color: #d6ebda;
    border: 2px solid #d6ebda;
    margin-left: 10px;
}

.panel-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
   
}

/* Form Control */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    /*  width: 82%;*/
    height: 39px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Checkbox */
.checkbox label {
    font-size: 14px;
    color: #555;
}

.form-group.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-right: none;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    color: #333;
}



/* Buttons */
.btn-login {
    display: inline-block;
    width: 100%;
    background: #4CAF50;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    padding: 10px;
    transition: background 0.3s;
}

    .btn-login:hover {
        background: #45a049;
        cursor: pointer;
    }

/* Links */
.links {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 20px;
}

    .links a {
        color: #4CAF50;
        text-decoration: none;
    }

        .links a:hover {
            text-decoration: underline;
        }

/*#log {
    padding: 8px;
    margin-left: 255px;
    width: 90px;
    background-color: #3bafda;
}*/

.SignUp {
    margin: auto;
    margin-right: 15px;
    text-decoration: none;
}

#su {
    text-decoration: none;
}

#sign {
    display: flex;
}
/* Responsive Design */
@media (max-width: 600px) {
    .wrapper-page {
        padding: 10px;
    }

    .panel {
        padding: 15px;
    }
}

.logout {
    width: 100px;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    padding: 3px;
    font-size: 22px;
}

    .logout:before {
        content: '';
        background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
        position: absolute;
        top: -2px;
        left: -2px;
        background-size: 400%;
        z-index: -1;
        filter: blur(5px);
        width: calc(100% + 4px);
        height: calc(100% + 4px);
        animation: glowing 20s linear infinite;
        opacity: 0;
        transition: opacity .3s ease-in-out;
        border-radius: 10px;
    }

    .logout:active {
        color: #000
    }

        .logout:active:after {
            background: transparent;
        }

    .logout:hover:before {
        opacity: 1;
    }

    .logout:after {
        z-index: -1;
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        /* background: #111;*/
        left: 0;
        top: 0;
        border-radius: 10px;
    }

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}
