/* Login page specific styles */
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 280px;
    margin: -120px auto 20px auto; /* Significantly increased negative top margin to move form higher */
}

.form-header {
    position: relative;
    top: -200px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
    margin-bottom: 12px;
}

.form-header h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 8px;
    width: 100%;
    position: relative;
    top: -210px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 500;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.input-icon-wrapper i {
    position: absolute;
    left: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.form-group input {
    width: 100%;
    padding: 12px 10px 12px 35px;
    border: none;
    border-radius: 12px;
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.3);
}

.form-footer {
    margin-top: 20px;
    text-align: center;
    color: #fff;
    width: 100%;
}

.form-footer a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

.forgot-password {
    display: block;
    margin-top: 1px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Login button styling */
.login-btn {
    position: relative;
    top: -200px;
}

/* Error message styling */
.error-message {
    color: #ff4d4d;
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
    display: none;
    position: relative;
    top: -50px;
}

.error-message.show {
    display: block;
}

/* Success message styling */
.success-message {
    color: #4dff4d;
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
    display: none;
    position: relative;
    top: -50px;
}

.success-message.show {
    display: block;
}
