.notification-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.notification-dialog.hidden {
    display: none;
}

.notification-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.notification-content {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    width: 90vw;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

.notification-header {
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.notification-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.notification-icon i {
    font-size: 2rem;
    color: white;
}

.notification-header h3 {
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.notification-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 1rem;
}

.notification-body {
    padding: 2rem;
}

.permission-cards {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.permission-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.permission-card:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.card-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.card-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.4;
}

.privacy-note {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #22c55e;
    font-size: 0.9rem;
}

.privacy-note i {
    font-size: 1.1rem;
}

.notification-actions {
    padding: 0 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.enable-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.enable-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

.skip-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .notification-content {
        width: 95vw;
        margin: 1rem;
    }

    .notification-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .notification-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .notification-icon i {
        font-size: 1.5rem;
    }

    .notification-header h3 {
        font-size: 1.5rem;
    }

    .notification-body {
        padding: 1.5rem;
    }

    .permission-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .card-icon {
        width: 40px;
        height: 40px;
    }

    .card-icon i {
        font-size: 1.2rem;
    }

    .notification-actions {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .enable-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .skip-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

.break-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.break-overlay.hidden {
    display: none;
}

.break-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.break-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.break-timer {
    font-size: 3rem;
    font-weight: bold;
    margin: 1.5rem 0;
    font-family: monospace;
    color: var(--accent-color);
}

.break-note {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-style: italic;
}

.break-note p {
    margin: 0;
    line-height: 1.5;
} 