body {
    margin: 0;
    font-family: sans-serif;
    background: #f9f9f9;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    padding: 1.5rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 10px;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.intro {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn.secondary {
    background: #6c757d;
}

.auth {
    background: #f4f7f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 400px;
    width: 100%;
}

.auth-card h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.btn {
    background: #007bff;
    color: white;
    padding: 0.75rem;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn:hover {
    background: #0056b3;
}

.btn.full {
    width: 100%;
}

.error-box {
    background: #ffe6e6;
    border: 1px solid #ffcccc;
    color: #cc0000;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.mt-2 {
    margin-top: 1rem;
}

.text-center {
    text-align: center;
}

.dashboard {
    max-width: 480px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.event-card {
    background: #f7fafd;
    border: 1px solid #cce3ff;
    border-radius: 7px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.event-form input[type="text"],
.event-form input[type="date"],
.event-form input[type="time"] {
    margin-bottom: 0.5rem;
}

/* Login Form Styles */
.login-form {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn.full {
    width: 100%;
    padding: 0.7rem;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.btn.full:hover {
    background-color: #0056b3;
}

.error-box {
    background: #ffdddd;
    border: 1px solid #ffaaaa;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
}
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

.checkbox-wrapper input[type="checkbox"] {
    margin: 0;
}
.remember-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.remember-group input[type="checkbox"] {
    margin: 0;
}
.remember-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.remember-line input[type="checkbox"] {
    margin: 0;
    transform: scale(1.2); /* optional: slightly larger checkbox */
}

.remember-line label {
    margin: 0;
    font-weight: normal;
    white-space: nowrap;
}
.remember-fix {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.4rem;
    margin: 0 !important;
    padding: 0 !important;
}

.remember-fix input[type="checkbox"] {
    margin: 0 !important;
    padding: 0 !important;
}

.remember-fix label {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: normal !important;
    line-height: 1 !important;
    white-space: nowrap;
}