body {
    background: #f5f7fb;
}

.status-alert-hero {
    padding: 38px 0 0;
}

.status-alert-hero-box {
    background:
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.15), transparent 32%),
        linear-gradient(135deg, #ffffff, #f5f3ff);
    border: 1px solid #ddd6fe;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.status-alert-hero-box h1 {
    font-size: clamp(34px, 5vw, 58px);
    color: #0f172a;
}

.status-alert-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.status-alert-message {
    border-radius: 20px;
    padding: 16px 18px;
}

.status-alert-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

.sticky-status-alert-card {
    position: sticky;
    top: 92px;
}

.status-alert-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.status-alert-step {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: #7c3aed;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex: 0 0 42px;
}

.status-alert-card .form-control,
.status-alert-card .form-select {
    border-radius: 16px;
}

.selected-status-place {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.selected-status-place-icon {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #f5f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex: 0 0 48px;
}

.selected-status-place strong,
.selected-status-place span,
.selected-status-place small {
    display: block;
}

.selected-status-place strong {
    color: #0f172a;
    font-weight: 900;
}

.selected-status-place span {
    color: #64748b;
    font-size: 0.9rem;
}

.selected-status-place small {
    color: #64748b;
    margin-top: 4px;
}

.selected-status-current {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.watch-condition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.watch-condition-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    padding: 14px;
    cursor: pointer;
    transition: 0.18s ease;
}

.watch-condition-card input {
    display: none;
}

.watch-condition-card span {
    display: block;
    color: #0f172a;
    font-weight: 900;
    margin-bottom: 4px;
}

.watch-condition-card small {
    color: #64748b;
}

.watch-condition-card.active {
    border-color: #7c3aed;
    background: #f5f3ff;
}

.status-alert-actions-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.status-alert-info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    border-radius: 18px;
    padding: 14px;
}

.status-alerts-list {
    display: grid;
    gap: 14px;
}

.status-alert-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 16px;
    display: flex;
    gap: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.status-alert-item-icon {
    width: 54px;
    height: 54px;
    border-radius: 19px;
    background: #f5f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    flex: 0 0 54px;
}

.status-alert-item-content {
    flex: 1;
}

.status-alert-item h4 {
    color: #0f172a;
    font-weight: 900;
    margin: 0 0 2px;
    font-size: 1.1rem;
}

.status-alert-item-place {
    color: #64748b;
    font-size: 0.9rem;
}

.status-alert-time-pill {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    font-size: 0.86rem;
}

.status-alert-condition {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px;
    margin-top: 10px;
    color: #334155;
}

.status-alert-current {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.status-alert-current small {
    color: #64748b;
}

.status-alert-item-note {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px;
    margin-top: 10px;
    color: #334155;
}

.status-alert-item-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.status-alert-empty-state {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 28px;
    padding: 44px 24px;
    text-align: center;
}

.status-alert-empty-icon {
    width: 78px;
    height: 78px;
    border-radius: 28px;
    background: #f5f3ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 18px;
}

.status-alert-toast {
    position: fixed;
    right: 18px;
    bottom: 82px;
    z-index: 1500;
    width: min(430px, calc(100% - 36px));
    background: #0f172a;
    color: #ffffff;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    opacity: 0;
    transform: translateY(15px);
    transition: 0.25s ease;
}

.status-alert-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.status-alert-toast-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
}

.status-alert-toast strong {
    display: block;
    margin-bottom: 3px;
}

.status-alert-toast p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.status-alert-toast button {
    margin-right: auto;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 992px) {
    .sticky-status-alert-card {
        position: static;
    }
}

@media (max-width: 576px) {
    .status-alert-hero-box,
    .status-alert-card {
        border-radius: 20px;
        padding: 18px;
    }

    .status-alert-hero-actions,
    .status-alert-hero-actions .btn {
        width: 100%;
    }

    .watch-condition-grid {
        grid-template-columns: 1fr;
    }

    .status-alert-item {
        flex-direction: column;
    }

    .status-alert-actions-bar .btn {
        width: 100%;
    }
}