#loginWindow {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    padding-top: 30px;
    border: 1px solid #888;
    width: 400px;
    text-align: center;
    position: relative;
}

#modalBackground {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

#login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

#login-form input {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    transition: border 0.3s;
}

#login-form button {
    width: 100%;
    padding: 12px;
    background-color: #047857;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#login-form button:hover {
    background-color: #065f46;
    transform: scale(1.02);
}

#loginWindow .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid #ddd;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s, border 0.2s, transform 0.2s;
    border-radius: 8px;
    padding: 1px 6px;
}

#loginWindow .close-btn:hover {
    color: #333;
}

#login-status {
    font-size: 15px;
    color: black;
}

#login-status.alert {
    color: red;
}

#logoutConfirmWindow {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 400px;
    text-align: center;
    position: relative;
}

#logoutConfirmWindow h2 {
    margin-bottom: 20px;
}

.membership-link-container {
    margin-bottom: 25px;
}

.membership-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s, transform 0.1s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.membership-link:hover {
    background-color: #2563eb;
    transform: scale(1.02);
    color: white;
    text-decoration: none;
}

.logout-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.logout-buttons button {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#logoutConfirmBtn {
    background-color: #047857;
    color: white;
}

#logoutConfirmBtn:hover {
    background-color: #065f46;
    transform: scale(1.02);
}

#logoutCancelBtn {
    background-color: #6b7280;
    color: white;
}

#logoutCancelBtn:hover {
    background-color: #4b5563;
    transform: scale(1.02);
}

#logoutSpinner {
    text-align: center;
    margin-top: 20px;
}

/* Throbber styles - shared with modal.css */
.throbber-large {
    width: 60px;
    height: 60px;
}

