/* Reset & base styles */
* 
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body, html 
{
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient( #1c3752, rgb(28, 45, 61), rgb(33, 44, 55));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* LOGIN PAGE STYLES */
.login-container 
{
    max-width: 600px;
    margin: auto;
    margin-top: -100px;
    background-color: #ffffff;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.login-label 
{
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2b6cb0;
    font-size: 16px;
}

input[type="text"] ,
input[type="password"]
{
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #cbd5e0;
    border: dotted 1px #2b6cb0;
    border-radius: 6px;
    margin-bottom: 20px;
}

input::placeholder
{
    color: grey;
    font-size: 15px;
}

/* MESSAGE BOX STYLES*/
.message 
{
    background-color: #f0f8ff; 
    border: 1px solid #007bff; 
    color: #333; 
    padding: 15px; 
    margin: 20px 0; 
    border-radius: 5px; 
    font-size: 16px; 
    text-align: center; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}

/* Main Container Styles */
.main-container 
{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #5289c1, #2b6cb0);
    color: white;
}

/* PASSWORD STYLES */
.password-div
{
    display: flex;
    align-items: center;
    position: relative;
}

#password
{
    padding-right: 40px;
}

#eye-icon 
{
    position: absolute;
    right: 10px;
    top: 10px;
    height: 25px;
    cursor: pointer;
}

/* ---------------- Heading Styles ---------------------- */
.heading
{
    max-width: 500px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    font-family: cursive;
}

.heading h1 
{
    font-size: 40px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.heading h3 
{
    font-size: 24px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.heading-section 
{
    text-align: center;
    margin-bottom: 30px;
}

.heading-section h2 
{
    font-size: 24px;
    margin-bottom: 5px;
    color: #1a202c;
}

.heading-section h3 
{
    font-size: 20px;
    margin-bottom: 5px;
    color: #2d3748;
}

.heading-section h4 
{
    font-size: 18px;
    color: #4a5568;
}

/* --------------- Button Styles --------------------*/
.btn 
{
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #8ab9e8;
    color: #41464d;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background-color: #2b6cb0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.submit 
{
    margin-top: 20px;
    text-align: right;
    cursor: pointer;
}

.submit-button 
{
    display: inline-block;
    background-color: #2b6cb0;
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.submit-button:hover 
{
    background-color: #2c5282;
}

.back-button 
{
    background-color: #e53e3e;
    color: white;
    margin-top: 10px;
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover 
{
    background-color: rgb(197, 48, 48);
}

.button-container-2
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media (max-width: 600px) 
{
    .login-container
    {
        max-width: 100%;
        padding: 15px 20px;
        margin-top: -100px;
    }

    .submit-button
    {
        padding: 10px 20px;
        font-size: 16px;
        width: 100%;
    }

    .heading-section h2 
    {
        font-size: 20px;
    }

    .heading-section h3 
    {
        font-size: 16px;
    }

    .heading-section h4 
    {
        font-size: 14px;
    }

    .login-label
    {
        font-size: 15px;
    }
}

@media (max-width: 425px)
{
    .heading-section h2 
    {
        font-size: 17px;
    }

    .heading-section h3 
    {
        font-size: 13px;
    }

    .heading-section h4 
    {
        font-size: 11px;
    }

    .login-label
    {
        font-size: 12px;
    }

    .submit-button
    {
        padding: 8px 18px;
        font-size: 14px;
    }

    input::placeholder
    {
        font-size: 12px;
    }
} 
