/* assets/admin-style.css */
.fsn-wrap h1 {
    margin-bottom: 20px;
}
.fsn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
}
@media (max-width: 900px) {
    .fsn-grid { grid-template-columns: 1fr; }
}
.fsn-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.fsn-card h2 {
    margin-top: 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 15px;
}
.fsn-form-group {
    margin-bottom: 24px;
}
.fsn-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.fsn-label-row label {
    font-weight: 600;
}
.fsn-card textarea.code {
    width: 100%;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.6;
}
/* ── Timing options ── */
.fsn-section-label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1d2327;
}
.fsn-radio-group {
    margin-bottom: 14px;
}
.fsn-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 8px;
}
.fsn-radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
}
.fsn-sub-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 24px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #ddd;
    opacity: 0.4;
    pointer-events: none;
    transition: opacity .2s;
}
.fsn-sub-option.active {
    opacity: 1;
    pointer-events: all;
}
.fsn-inline-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: fit-content;
}
.fsn-number-input {
    width: 70px;
    text-align: center;
    padding: 4px 6px;
    border: 1px solid #8c8f94;
    border-radius: 3px;
    font-size: 14px;
}
.fsn-unit {
    font-size: 13px;
    color: #555;
    white-space: nowrap;
}
.fsn-shortcode-box code {
    display: inline-block;
    background: #f0f4ff;
    border: 1px solid #c5d3f5;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #1a3a8f;
}
.fsn-info-box ul {
    margin: 0;
    padding-left: 18px;
    line-height: 2;
    font-size: 13px;
    color: #444;
}
.fsn-info-box code {
    background: #f5f5f5;
    padding: 1px 5px;
    border-radius: 3px;
}
/* ── Save row ── */
.fsn-save-row {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
}
.button-hero {
    height: 44px !important;
    line-height: 42px !important;
    padding: 0 28px !important;
    font-size: 15px !important;
}
#fsn-msg {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}
.fsn-msg-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}
.fsn-msg-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* assets/frontend-style.css */
/* ── Popup container: cố định góc dưới bên trái ── */
.fsn-popup-container {
    position: fixed;
    bottom: 70px;
    left: 20px;
    z-index: 99999;
    max-width: 320px;
    width: 100%;
}
/* ── Popup card ── */
.fake-sim-notifications {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0,0,0,0.10);
    overflow: hidden;
    border: 1px solid #e8e8e8;
}
.notification-header {
    background: var(--fs-color-primary);
    color: #fff;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.notification-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #fff;
}
.notification-header::before {
    content: '🔔';
    font-size: 14px;
}
.notification-list {
    position: relative;
}
.notification-item {
    padding: 12px 36px 12px 14px;
    position: relative;
    border-top: 1px solid #f0f0f0;
}
.notification-item.fsn-new {
    animation: fsnSlideIn .4s cubic-bezier(.22,1,.36,1) both;
}
@keyframes fsnSlideIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.notification-info {
    font-size: 14px;
    line-height: 1.75;
}
.customer-name {
    color: #333;
    font-size: 14px;
}
.customer-name strong {
    color: var(--fs-color-primary);
    font-size: 16px;
}
/* ── Tên gói cước ── */
.notification-plan {
    color: #444;
}
.notification-plan strong {
    color: #1a6e2e;
    font-weight: 700;
}
.order-date {
    color: #888;
    font-size: 12px;
}
.order-status {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 20px;
    margin-top: 2px;
    letter-spacing: .3px;
}
/* ── Nút đóng ── */
.fsn-close {
    position: absolute;
    top: 14px;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #aaa;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 4px;
    transition: color .2s, background .2s;
    margin: 0;
    height: auto;
    min-height: unset;
}
.fsn-close:hover {
    color: #333;
    background: #f0f0f0;
}
/* ── Mobile ── */
@media (max-width: 549px) {
    .fsn-popup-container {
        max-width: calc(100% - 40px);
    }
}