body {
    background: #f5f7fb;
}

.reminder-hero {
    padding: 38px 0 0;
}

.reminder-hero-box {
    background:
        radial-gradient(circle at top right, rgba(29, 78, 216, 0.15), transparent 32%),
        linear-gradient(135deg, #ffffff, #eff6ff);
    border: 1px solid #e2e8f0;
    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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.reminder-mode-card input {
    display: none;
}

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

.reminder-mode-card small {
    color: #64748b;
}

.reminder-mode-card.active {
    border-color: #1d4ed8;
    background: #eff6ff;
}

.quick-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.quick-time-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 999px;
    padding: 10px 12px;
    color: #334155;
    font-weight: 900;
    cursor: pointer;
}

.quick-time-btn.active,
.quick-time-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

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

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

.reminder-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);
}

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

.reminder-item-content {
    flex: 1;
}

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

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

.reminder-time-pill {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    font-size: 0.86rem;
}

.reminder-item-date {
    color: #475569;
    margin-top: 6px;
    font-weight: 800;
}

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

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

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

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

.reminder-toast {
    position: fixed;
    right: 18px;
    bottom: 82px;
    z-index: 1500;
    width: min(420px, 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;
}

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

.reminder-toast-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
}

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

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

.reminder-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-reminder-card {
        position: static;
    }
}

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

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

    .reminder-mode-grid,
    .quick-time-grid {
        grid-template-columns: 1fr;
    }

    .reminder-item {
        flex-direction: column;
    }

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