/* ==================== CSS Variables ==================== */
:root {
    --primary: #1a2a4a;
    --primary-light: #2a3f6f;
    --primary-dark: #0f1a30;
    --gold: #c9a84c;
    --gold-light: #e8d48b;
    --gold-dark: #b08d2f;
    --bg: #f5f6fa;
    --card-bg: #ffffff;
    --text: #1a1a2e;
    --text-secondary: #5a5a7a;
    --text-light: #8a8aaa;
    --border: #e8e8f0;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

/* ==================== Reset & Base ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}
#app {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ==================== Welcome Page ==================== */
.welcome-page {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}
.welcome-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.welcome-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.welcome-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(201,168,76,0.3);
    position: relative;
    z-index: 1;
}
.welcome-logo svg {
    width: 44px;
    height: 44px;
    fill: white;
}
.welcome-title {
    color: white;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.welcome-subtitle {
    color: var(--gold-light);
    font-size: 14px;
    letter-spacing: 6px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}
.welcome-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}
.welcome-feature {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 16px 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}
.welcome-feature-icon {
    font-size: 24px;
    margin-bottom: 6px;
}
.welcome-feature-text {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-weight: 500;
}
.welcome-btn {
    width: 100%;
    max-width: 320px;
    padding: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(201,168,76,0.4);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}
.welcome-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(201,168,76,0.3);
}
.welcome-divider {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 24px 0;
    position: relative;
    z-index: 1;
}
.welcome-footer {
    position: absolute;
    bottom: 30px;
    text-align: center;
    color: rgba(255,255,255,0.25);
    font-size: 11px;
    line-height: 1.6;
    z-index: 1;
}

/* ==================== Page Header ==================== */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--primary);
    color: white;
    min-height: 52px;
    position: relative;
    z-index: 10;
}
.page-header.customer-header {
    background: linear-gradient(135deg, #1a3a5c, #1a2a4a);
}
.page-header.partner-header {
    background: linear-gradient(135deg, #2a1a4a, #1a2a4a);
}
.page-header-title {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.page-header-title .icon {
    font-size: 18px;
}
.back-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    min-width: 60px;
    text-align: left;
}
.header-btn {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 16px;
    cursor: pointer;
}
.header-btn-small {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    cursor: pointer;
}
.header-badge {
    background: var(--success);
    color: white;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 500;
}

/* ==================== Chat Welcome Banner ==================== */
.chat-welcome-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #1a3a5c, #2a4a6a);
    color: white;
}
.chat-welcome-banner.partner-banner-bg {
    background: linear-gradient(135deg, #2a1a4a, #3a2a5a);
}
.chat-welcome-icon {
    font-size: 32px;
    flex-shrink: 0;
}
.chat-welcome-title {
    font-size: 15px;
    font-weight: 600;
}
.chat-welcome-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
}

/* ==================== Quick Questions ==================== */
.quick-questions {
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid var(--border);
}
.quick-q-title {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}
.quick-q-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.quick-q-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 6px 14px;
    font-size: 12px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
}
.quick-q-item:active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ==================== Chat Container ==================== */
.chat-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}
.chat-message {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease;
}
.chat-message.user {
    flex-direction: row-reverse;
}
.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}
.chat-message.user .chat-avatar {
    background: var(--gold);
}
.chat-bubble {
    max-width: 78%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
    box-shadow: var(--shadow);
}
.chat-message.ai .chat-bubble {
    background: white;
    color: var(--text);
    border-bottom-left-radius: 4px;
}
.chat-message.user .chat-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}
.chat-input-area {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border-top: 1px solid var(--border);
    padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.chat-input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    resize: none;
    outline: none;
    max-height: 100px;
    line-height: 1.4;
    font-family: inherit;
    background: var(--bg);
    transition: border-color 0.2s;
}
.chat-input:focus {
    border-color: var(--primary);
}
.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(201,168,76,0.3);
    transition: all 0.2s;
}
.chat-send-btn:disabled {
    opacity: 0.5;
}
.chat-send-btn:active {
    transform: scale(0.95);
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}
.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-light);
    animation: typing 1.4s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== Login Page ==================== */
.login-page {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.login-card {
    width: 100%;
    max-width: 360px;
    background: white;
    border-radius: 20px;
    padding: 40px 28px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.login-logo {
    font-size: 48px;
    margin-bottom: 12px;
}
.login-card h2 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 4px;
}
.login-card .subtitle {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 28px;
}
.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 4px;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s;
}
.login-btn:active {
    transform: scale(0.98);
}
.login-btn:disabled {
    opacity: 0.7;
}
.login-error {
    color: var(--danger);
    font-size: 13px;
    margin-top: 12px;
    min-height: 20px;
}

/* ==================== Form Elements ==================== */
.form-group {
    margin-bottom: 16px;
    text-align: left;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    background: var(--bg);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
}
.form-textarea {
    min-height: 80px;
    resize: vertical;
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a5a7a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* ==================== Partner Home ==================== */
.partner-home {
    height: 100%;
    background: var(--bg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.partner-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 28px 20px;
    color: white;
}
.partner-greeting {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}
.partner-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.partner-menu {
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.partner-menu-item {
    background: white;
    border-radius: var(--radius);
    padding: 20px 16px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    text-align: center;
}
.partner-menu-item:active {
    transform: scale(0.97);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.partner-menu-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 10px;
}
.partner-menu-icon.info { background: linear-gradient(135deg, #e8d5f5, #d5c5f0); }
.partner-menu-icon.script { background: linear-gradient(135deg, #d5e8f5, #c5d8f0); }
.partner-menu-icon.product { background: linear-gradient(135deg, #d5f5e8, #c5f0d8); }
.partner-menu-icon.plan { background: linear-gradient(135deg, #f5e8d5, #f0d8c5); }
.partner-menu-icon.customer { background: linear-gradient(135deg, #f5d5d5, #f0c5c5); }
.partner-menu-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.partner-menu-desc {
    font-size: 11px;
    color: var(--text-light);
}

/* ==================== Products ==================== */
.product-page {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}
.product-tabs {
    display: flex;
    padding: 12px 16px;
    gap: 8px;
    overflow-x: auto;
    background: white;
    border-bottom: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}
.product-tabs::-webkit-scrollbar { display: none; }
.product-tab {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    background: var(--bg);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.product-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.product-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}
.product-card {
    background: white;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.2s;
}
.product-card:active {
    transform: scale(0.99);
}
.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.product-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}
.product-card-category {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--bg);
    color: var(--text-secondary);
}
.product-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}
.product-card-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
.product-card-price {
    color: var(--gold-dark);
    font-weight: 600;
}
.product-card-target {
    color: var(--text-light);
}

/* Product Detail Modal */
.product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 100;
    animation: fadeIn 0.2s ease;
}
.product-detail-content {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}
.product-detail-content h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 16px;
}
.product-detail-section {
    margin-bottom: 14px;
}
.product-detail-section h4 {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}
.product-detail-section p {
    font-size: 14px;
    line-height: 1.5;
}
.product-detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.product-detail-feature-tag {
    padding: 3px 10px;
    background: var(--bg);
    border-radius: 12px;
    font-size: 12px;
    color: var(--primary);
}

/* ==================== Customer Management ==================== */
.customer-page {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    position: relative;
}
.customer-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}
.customer-card {
    background: white;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}
.customer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.customer-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}
.customer-status {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 500;
}
.customer-status.pending { background: #fff3cd; color: #856404; }
.customer-status.following { background: #cce5ff; color: #004085; }
.customer-status.signed { background: #d4edda; color: #155724; }
.customer-status.lost { background: #f8d7da; color: #721c24; }
.customer-card-info {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.customer-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: flex-end;
}
.customer-action-btn {
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 12px;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-secondary);
    cursor: pointer;
}
.customer-action-btn.danger {
    color: var(--danger);
    border-color: #f8d7da;
}
.add-customer-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    font-size: 28px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(201,168,76,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* ==================== Modal ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 100;
    animation: fadeIn 0.2s ease;
}
.modal-content {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    max-width: 400px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
}
.modal-content h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}
.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.modal-btn {
    flex: 1;
    padding: 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.modal-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}
.modal-btn.secondary {
    background: var(--bg);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* ==================== Empty State ==================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.empty-state-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== Toast ==================== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 1000;
    animation: toastIn 0.3s ease;
    pointer-events: none;
}
@keyframes toastIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ==================== Loading Spinner ==================== */
.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== Safe Area ==================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .chat-input-area {
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
}

/* ==================== 复制按钮 ==================== */
.copy-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 10px;
    font-size: 11px;
    color: #888;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    transition: all 0.2s;
}
.copy-btn:hover {
    color: #333;
    background: #eee;
    border-color: #ccc;
}
.copy-btn.copied {
    color: #4CAF50;
    border-color: #4CAF50;
    background: #e8f5e9;
}

/* ==================== 金币徽章 ==================== */
.coins-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px 10px;
    font-size: 12px;
    color: #b8860b;
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* ==================== 模态框 ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    width: 340px;
    max-width: 90vw;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.modal-content h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #333;
}
.modal-content .form-group {
    margin-bottom: 14px;
}
.modal-content .form-group label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}
.modal-content .form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}
.modal-content .form-input:focus {
    border-color: var(--primary);
}
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}
.modal-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.modal-btn.primary {
    background: var(--primary);
    color: #fff;
}
.modal-btn.secondary {
    background: #f0f0f0;
    color: #333;
}
.modal-btn:hover {
    opacity: 0.85;
}
