/* reset */
body {
    font-family: Arial;
    background-color: #f0f2f5;
    margin: 0;  /* Changed from 100 to 0 */
    padding-top: 80px;  /* Add padding-top to account for fixed header */
    color: #1c1e21;
    flex-direction: column;
    min-height: 100vh;  /* Ensure full viewport height */
    display: flex;  /* Added for footer positioning */
}

/* - */

/* header */
.header {
    background-color: #1877f2;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;  /* Add fixed position */
    width: 100%;     /* Full width */
    top: 0;          /* Stick to top */
    z-index: 1000;   /* Ensure header stays on top */
}

.header nav {
    max-width: 1200px;
    margin: 0 auto;  /* Changed from margin-bottom: 100px */
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.header ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;  /* Take full width of nav */
}

.header li {
    padding: 0 15px;  /* Changed from margin to padding */
}

.header a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.3s;
    display: block;  /* Added for better touch targets */
    padding: 5px 0;  /* Added for better touch targets */
}

.header a:hover {
    opacity: 0.8;
}

.header img {
    height: 40px;
    width: auto;
}

/* - */


/* Footer Styles */
.footer {
    background-color: #1877f2;
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    margin: 8px 0;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    background-color: #1877f2;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 14px;
    color: white;
    margin: 0;
    padding-bottom: 20px;
}

/* - */

/* register-pagina */
.register-body {
    background-color: #f0f2f5;
}

.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
}

.register-form {
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.register-label {
    display: block;
    margin-bottom: 8px;
    color: #1c1e21;
    font-weight: 500;
}

.register-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #dddfe2;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

.register-input:focus {
    outline: none;
    border-color: #1877f2;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
}

.register-btn {
    width: 100%;
    padding: 12px;
    background-color: #1877f2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.register-btn:hover {
    background-color: #166fe5;
}

/* form link styles */
.form-link {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.form-link a {
    color: #1877f2;
    text-decoration: none;
    font-weight: 500;
}

.form-link a:hover {
    text-decoration: underline;
}

/* Update existing form styles */
.login-form,
.register-form {
    padding-bottom: 20px;
}

/* Login page styling */
.login-body {
    background-color: #f0f2f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
}

.login-form {
    max-width: 400px;
    width: 100%;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-form h2 {
    margin: 0 0 20px 0;
    color: #1c1e21;
    font-size: 24px;
    text-align: center;
}

.login-label {
    display: block;
    margin-bottom: 8px;
    color: #1c1e21;
    font-weight: 500;
}

.login-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #dddfe2;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

.login-input:focus {
    outline: none;
    border-color: #1877f2;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #1877f2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.login-btn:hover {
    background-color: #166fe5;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
}

.form-link {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.form-link a {
    color: #1877f2;
    text-decoration: none;
    font-weight: 500;
}

.form-link a:hover {
    text-decoration: underline;
}

/* Main content wrapper */
.main-content {
    flex: 1;  /* Take remaining space */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* - */


