* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

header {
    text-align: center;
    margin-bottom: 24px;
}

header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
}

.subtitle {
    color: #666;
    font-size: 14px;
}

.status-section {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.status-item:last-child {
    margin-bottom: 0;
}

.status-label {
    font-weight: 500;
    color: #666;
}

.status-value {
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
}

.status-value.granted {
    background: #4caf50;
    color: white;
}

.status-value.denied {
    background: #f44336;
    color: white;
}

.status-value.default {
    background: #ff9800;
    color: white;
}

.status-value.registered {
    background: #4caf50;
    color: white;
}

.status-value.error {
    background: #f44336;
    color: white;
}

.actions-section {
    margin-bottom: 24px;
}

.notifications-section {
    margin-bottom: 24px;
}

.notifications-section h2 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #333;
}

.notification-group {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.notification-group h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #555;
}

.btn {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 8px;
}

.btn:last-child {
    margin-bottom: 0;
}

.btn-primary {
    background: #2196F3;
    color: white;
}

.btn-primary:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.btn-secondary {
    background: #757575;
    color: white;
}

.btn-secondary:hover {
    background: #616161;
}

.btn-test {
    background: white;
    color: #2196F3;
    border: 2px solid #2196F3;
}

.btn-test:hover {
    background: #2196F3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.log-section {
    margin-top: 24px;
}

.log-section h2 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
}

.log-container {
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: 8px;
    padding: 16px;
    max-height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.log-entry {
    margin-bottom: 8px;
    padding: 8px;
    border-left: 3px solid #2196F3;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 4px;
}

.log-entry.success {
    border-left-color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.log-entry.error {
    border-left-color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.log-entry.info {
    border-left-color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
}

.log-time {
    color: #888;
    font-size: 11px;
    margin-right: 8px;
}

@media (max-width: 480px) {
    .container {
        padding: 16px;
        border-radius: 16px;
    }

    header h1 {
        font-size: 24px;
    }

    .btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

