html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main, .content-wrapper {
    flex: 1;
}

/* ===== Login Form Wrapper ===== */
.login-form {
    width: 100%;
    max-width: 420px;
    margin: 60px auto;
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 2px 4px 12px rgba(0,0,0,0.15);
}

/* ===== Headings ===== */
.login-form h3 {
    font-weight: 600;
    color: #333;
}

/* ===== Input Groups ===== */
.input-groups {
    margin-bottom: 22px;
}

.icon-input {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-input input {
    width: 100%;
    padding: 10px 45px 10px 45px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease-in-out;
}

.icon-input input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.field-icon {
    position: absolute;
    left: 12px;
    width: 18px;
}

.toggle-eye {
    position: absolute;
    right: 12px;
    width: 20px;
    cursor: pointer;
}

/* ===== Buttons ===== */
.login-btn, .google-signin {
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.2s ease;
}
.google-signin a{
text-decoration:none;
color: #fff;
}
.login-btn:hover, .google-signin:hover {
    background: #333333;
}

.google-icon {
    width: 20px;
    height: 20px;
}

/* ===== Links ===== */
.forgot-pass {
    display: inline-block;
    margin-bottom: 10px;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.forgot-pass:hover {
    text-decoration: underline;
}

.signup-link {
    margin-top: 18px;
    font-size: 14px;
}

.signup-link a {
    color: #007bff;
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}

.server-error-box {
    background-color: #fde8e8; /* ഇളം ചുവപ്പ് ബാക്ക്ഗ്രൗണ്ട് */
    border: 1px solid #f8b4b4; /* ചുവന്ന ബോർഡർ */
    color: #c81e1e;            /* കടും ചുവപ്പ് അക്ഷരങ്ങൾ */
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 5px rgba(200, 30, 30, 0.1);
    animation: fadeIn 0.3s ease-in-out;
}

/* എറർ ബോക്സ് സ്മൂത്ത് ആയി വരാൻ ഒരു ചെറിയ ആനിമേഷൻ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 576px) {
    .login-form {
        padding: 20px;
    }
}
