:root {
    --stella-primary: #0d6efd;
    --stella-primary-light: #e7f0ff;
    --stella-success: #16c79a;
    --stella-warning: #ffd166;
    --stella-danger: #ef4444;
    --stella-text: #334155;
    --stella-text-dark: #0f172a;
    --stella-bg: #f8fafc;
    --stella-card-bg: #ffffff;
    --stella-border: #e2e8f0;
    --stella-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --stella-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --stella-radius: 12px;
}

.stella-cb-admin-wrap {
    margin: 20px 20px 0 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--stella-text);
}

.stella-cb-admin-header {
    margin-bottom: 24px;
}

.stella-cb-admin-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--stella-text-dark);
    margin: 0;
}

.stella-cb-main-grid {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.stella-cb-content-area {
    flex: 1;
    min-width: 600px;
}

.stella-cb-card {
    background: var(--stella-card-bg);
    border-radius: var(--stella-radius);
    box-shadow: var(--stella-shadow);
    border: 1px solid var(--stella-border);
    padding: 32px;
    margin-bottom: 32px;
}

.stella-cb-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 24px 0;
    color: var(--stella-text-dark);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--stella-border);
}

/* Form Styles */
.stella-cb-admin-wrap .form-table th {
    width: 240px;
    padding: 20px 0;
    font-weight: 600;
    color: var(--stella-text-dark);
}

.stella-cb-admin-wrap .form-table td {
    padding: 15px 0;
}

.stella-cb-admin-wrap input[type="text"],
.stella-cb-admin-wrap input[type="date"],
.stella-cb-admin-wrap select,
.stella-cb-admin-wrap textarea {
    border-radius: 8px;
    border: 1px solid var(--stella-border);
    padding: 8px 12px;
    background: #fff;
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stella-cb-admin-wrap input[type="text"]:focus,
.stella-cb-admin-wrap select:focus,
.stella-cb-admin-wrap textarea:focus {
    border-color: var(--stella-primary);
    box-shadow: 0 0 0 2px var(--stella-primary-light);
    outline: none;
}

.stella-cb-admin-wrap .button-primary {
    background: var(--stella-primary);
    border: none;
    border-radius: 8px;
    padding: 8px 24px;
    font-weight: 600;
    height: auto;
    line-height: 1.5;
    box-shadow: 0 4px 6px rgba(13, 110, 253, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stella-cb-admin-wrap .button-primary:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(13, 110, 253, 0.3);
}

/* Promo Card Redesign */
.stella-cb-promo-outer {
    width: 340px;
    max-width: 100%;
    position: sticky;
    top: 80px;
}

.stella-cb-promo-card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stella-cb-promo-card::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.25) 0%, transparent 70%);
    z-index: 0;
    filter: blur(40px);
}

.stella-cb-promo-card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.15) 0%, transparent 70%);
    z-index: 0;
    filter: blur(30px);
}

.stella-cb-promo-content {
    position: relative;
    z-index: 1;
}

.stella-cb-promo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stella-cb-promo-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px 0;
    padding-bottom: 4px;
    background: linear-gradient(to right, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stella-cb-promo-text {
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 24px;
}

.stella-cb-promo-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.stella-cb-promo-features li {
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
}

.stella-cb-promo-features li::before {
    content: '✦';
    color: #60a5fa;
    font-weight: bold;
}

.stella-cb-promo-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.stella-cb-promo-amount {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.stella-cb-promo-currency {
    font-size: 14px;
    color: #94a3b8;
}

.stella-cb-promo-btn {
    display: block;
    background: #fff;
    color: #0f172a !important;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.stella-cb-promo-btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.stella-cb-select {
    min-width: 200px !important;
}

/* FAQ Table Redesign */
.stella-cb-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 24px;
    border-radius: var(--stella-radius);
    overflow: hidden;
    border: 1px solid var(--stella-border);
}

.stella-cb-table thead th {
    background: var(--stella-bg);
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--stella-text-dark);
    border-bottom: 1px solid var(--stella-border);
}

.stella-cb-table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--stella-border);
    vertical-align: top;
}

.stella-cb-table tbody tr:last-child td {
    border-bottom: none;
}

.stella-cb-table tbody tr:hover {
    background-color: #f8fafc;
}

.stella-cb-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: var(--stella-primary-light);
    color: var(--stella-primary);
}

.stella-cb-action-btns {
    display: flex;
    gap: 8px;
}

/* Notices */
.stella-cb-admin-wrap .notice {
    border-left-width: 4px;
    border-left-color: var(--stella-success);
    border-radius: 8px;
    box-shadow: var(--stella-shadow);
    margin: 0 0 24px 0;
    padding: 12px 20px;
}
