body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 420px;
    width: 100%;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

/* Tabs container */
.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

/* Individual tab */
.tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    background: #f9f9f9;
    border: none;
    outline: none;
    font-size: 16px;
    color: #555;
    transition: background 0.3s, color 0.3s;
}

/* Active tab */
.tab.active {
    background: #2d7d9a; /* StayPalm brand teal */
    color: white;
    font-weight: bold;
    border-bottom: 2px solid #1d4e5f;
}

/* Hover effect */
.tab:hover {
    background: #e0e0e0;
}

/* Form sections with fade effect */
.form-section {
    display: none;
    text-align: left;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.form-section.active {
    display: block;
    opacity: 1;
}

/* Form inputs */
form input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

/* Form buttons */
form button {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: #2d7d9a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background: #1d4e5f;
}

.form-notice {
    display: none;
    margin-top: 8px;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.35;
}

.form-notice.error {
    display: block;
    background: #fdecea;
    color: #9f1d1d;
    border: 1px solid #f5c2c7;
}

.form-notice.success {
    display: block;
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #b7dfb8;
}

/* Disclaimer text */
.disclaimer {
    font-size: 12px;
    color: #777;
    margin-top: 25px;
    line-height: 1.4;
}
