/* Notification Settings Page Styles */
.notification-settings-header {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
}

.notification-settings-header .back-button {
    margin-right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-settings-header .back-icon {
    width: 24px;
    height: 24px;
}

.notification-settings-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

.notification-settings-content {
    padding: 16px;
    height: calc(100% - 60px);
    overflow-y: auto;
}

.settings-section {
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.settings-section h3 {
    font-size: 1.1rem;
    margin: 0 0 12px 0;
    color: var(--primary-color);
}

.settings-section p {
    margin: 0 0 16px 0;
    color: #666;
    font-size: 0.9rem;
}

.info-box {
    background-color: rgba(33, 150, 243, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 12px;
    margin: 16px 0;
    border-radius: 4px;
}

.info-box p {
    margin: 8px 0;
    color: #555;
}

.settings-placeholder {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

.placeholder-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
}

.placeholder-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.placeholder-text {
    color: #999;
    font-size: 0.9rem;
}

.connection-section {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 16px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.connection-section h4 {
    font-size: 0.9rem;
    margin: 0 0 12px 0;
    color: var(--secondary-color);
}

.connection-section p {
    margin: 0 0 16px 0;
    color: #666;
    font-size: 0.9rem;
}

.signalr-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
    transition: background-color 0.2s, transform 0.2s;
    margin-bottom: 16px;
}

.signalr-button:hover {
    background-color: #1976d2; 
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.signalr-button:active {
    transform: translateY(0);
}

.signalr-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

.connection-status {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-top: 8px;
}

.connection-status.connected {
    background-color:var(--black-color);
    color: var(--success-color);
}

.connection-status.disconnected {
    background-color:var(--black-color);
    color: var(--error-color);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.connection-status.connected .status-indicator {
    background-color: var(--primary-color);
}

.connection-status.disconnected .status-indicator {
    background-color: #f44336;
}

/* Debug section styles */
.debug-section {
    margin-top: 24px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    background-color: #f8f9fa;
}

.debug-section h4 {
    margin: 0 0 16px 0;
    color: #333;
    font-size: 0.9rem;
}

.debug-info {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
}

.debug-row {
    display: flex;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.debug-row:last-child {
    margin-bottom: 16px;
    border-bottom: none;
}

.debug-label {
    font-weight: 600;
    flex: 0 0 120px;
    color: #555;
}

.debug-value {
    flex: 1;
    word-break: break-all;
    font-family: monospace;
    font-size: 0.9rem;
    color: #333;
    background-color: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
}

.token-value {
    cursor: help;
}

.refresh-button {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-right: 8px;
    margin-top: 12px;
}

.refresh-button:hover {
    background-color: #e0e0e0;
}

.refresh-button:last-child {
    margin-right: 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .notification-settings-header h2 {
        font-size: 1rem;
    }
    
    .settings-section h3 {
        font-size: 1rem;
    }
    
    .settings-section p,
    .info-box p {
        font-size: 0.85rem;
    }
    
    .signalr-button {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .connection-section h4 {
        font-size: 0.9rem;
    }
    
    .connection-section p,
    .connection-status {
        font-size: 0.8rem;
    }
    
    .debug-section h4 {
        font-size: 0.9rem;
    }
    
    .debug-label {
        font-size: 0.85rem;
        flex: 0 0 100px;
    }
    
    .debug-value {
        font-size: 0.8rem;
    }
    
    .refresh-button {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
} 