:root {
    --accent: #dadada; /* Your signature Orange */
    --bg: #121212;
    --red: #ff4444;
}

body {
    background-color: var(--bg);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* THE TRIGGER BUTTON */
.trigger-btn {
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.trigger-btn:hover {
    background: var(--accent);
    color: var(--bg);
}

/* THE OVERLAY (Glassmorphism) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px); /* The frosted glass effect */
    display: grid;
    place-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s ease;
    z-index: 1000;
}

/* THE MODAL CARD */
.alert-card {
    background: #1a1a1a;
    border: 1px solid #333;
    width: 90%;
    max-width: 400px;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    transform: scale(0.8) translateY(20px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* THE LOGIC: When checkbox is checked, show overlay and card */
#alert-toggle:checked ~ .overlay {
    visibility: visible;
    opacity: 1;
}

#alert-toggle:checked ~ .overlay .alert-card {
    transform: scale(1) translateY(0);
}

/* UI ELEMENTS */
.icon { font-size: 50px; margin-bottom: 20px; }
h2 { color: white; margin: 0 0 10px; }
p { color: #888; line-height: 1.5; font-size: 14px; margin-bottom: 30px; }

.actions {
    display: flex;
    gap: 15px;
}

.actions label {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: 0.2s;
}

.btn-cancel {
    background: #333;
    color: white;
}

.btn-confirm {
    background: var(--accent);
    color: var(--bg);
}

.btn-cancel:hover { background: #444; }
.btn-confirm:hover { filter: brightness(1.2); }