body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Login container styling */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 20px;
}

/* Login form wrapper */
.login-form-wrapper {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    padding: 30px;
    margin: 0 auto;
}

/* Login title */
.login-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 25px;
    text-align: left;
}

/* Form styling */
.form-group {
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    display: flex;
    width: 100%;
}

.form-control {
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
    width: 100%;
    font-size: 14px;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.input-group-append {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.input-group-text {
    background: transparent;
    border: none;
    color: #777;
    padding: 0 15px;
    cursor: pointer;
}

/* Button styling */
.btn {
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-success {
    background-color: #4CAF50;
    color: white;
}

.btn-success:hover {
    background-color: #43a047;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Login options */
.login-options {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.btn-sign-up {
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.forgot-password {
    color: #2065d1;
    font-size: 14px;
    text-decoration: none;
}

.btn-sign-up:hover,
.forgot-password:hover {
    text-decoration: underline;
}

/* Divider */
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #eee;
    z-index: 1;
}

.divider span {
    position: relative;
    z-index: 2;
    background-color: #fff;
    padding: 0 15px;
    color: #777;
    font-size: 14px;
}

/* Social login buttons */
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 15px;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 500;
}

.btn-social i {
    margin-right: 10px;
}

.btn-google {
    background: linear-gradient(90deg, #ea4335 0%, #4285f4 100%);
}

.btn-facebook {
    background-color: #4267B2;
}

.btn-social:hover {
    opacity: 0.9;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-form-wrapper {
        padding: 20px;
    }

    .form-control {
        height: 40px;
    }

    .btn {
        padding: 10px 15px;
    }
}



/* Center the login form perfectly */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    /* Adjust based on header+footer height */
    padding-top: 20px;
}

/* Fix icon alignment in input fields */
.input-group-text {
    background: none;
    border: none;
    padding: 0 12px;
    color: #6c757d;
    font-size: 16px;
}

/* Social login buttons full width */
.btn-social {
    width: 100%;
    margin-bottom: 10px;
    font-size: 15px;
}

/* Make input group look tighter */
.input-group {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.input-group .form-control {
    border: none;
}

/* Optional: better visual hierarchy for button */
.btn-success {
    background-color: #28a745;
    font-size: 16px;
    padding: 10px 0;
}

.login-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.dashboard-content {
    padding-top: 100px;
    padding-bottom: 30px;
    min-height: calc(100vh - 120px);
}