/* --- Portal Specific Styles --- */

.hidden {
    display: none !important;
}

/* Auth Section */
#auth-section {
    max-width: 400px;
    margin: 0 auto;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #757575;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    margin-top: 16px;
    width: 100%;
}

.google-btn:hover {
    background-color: #f8f8f8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.google-btn img {
    width: 18px;
    height: 18px;
    margin-right: 12px;
}

/* Dashboard */
.user-info {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--outline-variant, #444);
}

.danger-zone {
    margin-top: 2rem;
}

.btn-danger {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #c62828;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-danger:hover {
    background-color: #c62828;
    color: white;
}

/* Spinner */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: var(--primary);
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#error-message {
    color: #ef5350;
    background: rgba(239, 83, 80, 0.1);
    padding: 10px;
    border-radius: 4px;
    margin-top: 16px;
    text-align: center;
    border: 1px solid #ef5350;
}