body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.form-container {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 350px;
    background-color: rgb(246, 246, 241)
   
}

.form-container h2 {
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
   /* Position above input box */
    font-weight: bold;
 
}

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden; /* Keeps icons inside the border */
}

.input-group i {
    padding: 10px;
    color: #555;
    background-color: #f0f0f0;
    border-right: 1px solid #ccc;
}

/* Input box */
.input-group input {
    border:#333;
    outline: none;
    padding: 10px;
    flex: 1;
    font-size: 16px;
}

/* Eye icon */
.input-group .fa-eye,
.input-group .fa-eye-slash {
    cursor: pointer;
    padding: 10px;
    color: #555;
    background-color: rgb(254, 253, 253) !important;
}

/* Submit button */
.button {
    display: block;
    margin: 20px auto 0; /* Centers button */
    background-color: #4a7dff;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.button:hover {
    background-color: #395edc;
}

/* Hyperlink styling */
.form-container .a:hover {
    color: rgb(212, 32, 71);
    font-style: oblique;
}

@media (max-width: 480px) {
    .form-container {
        width: 80%;
        padding: 20px;
    }
    .form-group {
        margin-bottom: 12px;
    }
    .form-group h2 {
        font-size: 15px;
    }
    .input-group input {
        padding: 8px;
        font-size: 14px;
    }
    .button {
        padding: 8px 16px;
        font-size: 15px;
        font-weight:800;
    }
    label {
        font-size: 17px;
    }
}

/* Flash Messages */
.flashes {
    color: rgb(213, 24, 74);
    font-size: bolder;
    text-shadow: #555;
}

 /* Profile section and Dropdown Styles */
 .profile-section {
    position: absolute;
    top: 10px;
    right: 10px;
    
}

.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  
}
.dropdown.active {
    background-color:none;
}

.profile-icon {
    background-color: #ff69b4; /* Pink Circle */
    color: white;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-arrow {
    font-size: 20px;
    color: #333;
    margin-left: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: aliceblue;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.dropdown-content a:hover {
    background-color: #5774b2;
    color: white;
}

/* Icon styling */
.dropdown-content i {
    margin-right: 10px;
}

/* Show Dropdown on Click */
.dropdown.active .dropdown-content {
    display: block;
}

/* timer-section*/
.timer_message {
    margin-top: 15px;
    color: red;
    text-align: center !important; 
    font-weight: bold;
}
/* for seconds & label */
.timer {
    font-weight: bold;
    text-align: center !important;
    color: #f47835;
    background-color: rgb(255, 251, 251)!important;
    border-left: 1px solid #ccc;
}
.timer label {
    color: #555 !important;
    font-weight: lighter;
    font-style:oblique;
    display:flex !important;
}

