/* ==============================
   🌍 Shared Styles for All User Pages
================================= */

/* 🔹 Auth Container */
.auth-container {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: block;
    flex-direction: column;
}

.auth-container h1 {
    font-family: "Arial", sans-serif; /* Replace with the correct font */
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
}

.auth-container h2 {
    font-family: "Arial", sans-serif; /* Replace with the correct font */
    font-size: 2px;
    margin-bottom: 20px;
    text-align: left;
}

.main-content {
    align-items: center;
    min-height: 100vh; /* ✅ Ensures vertical centering */
}

/* 🔹 Form Group */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
}

/* 🔹 OR Divider */
.divider {
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
    color: #888;
}

/* 🔹 Buttons */
.auth-btn {
    display: block;                 /* 👈 Ensures full-width and vertical spacing works */
    background-color: #1E2761;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s ease;
    width: 100%;
    margin-top: 20px;               /* 👈 Increase if needed */
    text-align: center;
    text-decoration: none;
}


.auth-btn:hover {
    background-color: #2C9EFF;
}

/* 🔹 Social Login Buttons */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ✅ Fix OAuth Buttons */
.oauth-btn,
.oauth-btn:visited,
.oauth-btn:focus,
.oauth-btn:hover {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between logo and text */
    padding: 5px;
    border: 1px solid #ccc; /* ✅ Light border */
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    background-color: white; /* ✅ White background */
    color: black;
    transition: background 0.3s ease;
    margin-bottom: 10px; /* ✅ Adds spacing between buttons */
    text-decoration: none !important;
}

.oauth-btn img {
    width: 24px; /* ✅ Icon Size */
    height: 24px;
    justify-content: flex-start;
}

.oauth-btn:hover {
    background-color: #f0f0f0; /* ✅ Light hover effect */
}

/* 🔹 Help Text */
.help-text {
    text-align: center;
    color: #888;
    margin-top: 10px;
    font-size: 14px;
}

/* 🔹 Back to Login/Signup Links */
.back-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #1E2761;
    font-weight: bold;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}


.forgot-password {
    text-align: right;
    font-size: 14px;
    margin-top: -5px; /* ✅ Moves it closer to password input */
    margin-bottom: 10px; /* ✅ Adds small whitespace before login button */
}


.terms-text {
    font-size: 14px;
    text-align: center;
    color: #444; /* ✅ Match Forgot Password color */
    margin-top: 10px;
    margin-bottom: 0;
}
.terms-text a {
    color: #1E2761;
    text-decoration: none;
}
.terms-text a:hover {
    text-decoration: underline;
}


/* Input fields */
input[type="email"],
input[type="password"],
input[type="text"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Error messages */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 10px;
}