/* Authentication Screens Styling */

.auth-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-screen.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

.auth-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: block;
    border-radius: 8px;
}

.auth-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #193521;
    margin-bottom: 10px;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.google-signin-btn {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s;
}

.google-signin-btn:hover {
    background: #f8f8f8;
    border-color: #999;
}

.google-signin-btn img {
    width: 20px;
    height: 20px;
}

.access-request-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #193521;
    box-shadow: 0 0 0 2px rgba(25, 53, 33, 0.1);
}

.submit-btn {
    padding: 12px;
    background: #193521;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.submit-btn:hover:not(:disabled) {
    background: #0d1f15;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#logoutBtn {
    display: none;
}

#logoutBtn.active {
    display: inline;
}

.status-message {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.status-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-message.pending {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.access-denied-message {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}
