/* 旅游规划师工具 - 管理后台样式 */

/* 基础重置样式 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* 现代旅行美学配色 */
    --primary-ocean: #2E86AB;        /* 深海蓝 */
    --primary-sky: #A23B72;          /* 天空紫 */
    --accent-sunset: #F18F01;        /* 日落橙 */
    --accent-warm: #C73E1D;          /* 暖红 */
    --neutral-light: #F5F7FA;        /* 浅灰蓝 */
    --neutral-medium: #8B9DC3;       /* 中灰蓝 */
    --neutral-dark: #2C3E50;         /* 深蓝灰 */
    --success-green: #27AE60;        /* 成功绿 */
    --warning-amber: #F39C12;        /* 警告琥珀 */
    --danger-coral: #E74C3C;         /* 危险珊瑚 */
    --bg-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-card: rgba(255, 255, 255, 0.95);
    --shadow-soft: 0 8px 32px rgba(31, 38, 135, 0.15);
    --shadow-hover: 0 12px 40px rgba(31, 38, 135, 0.25);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    background: var(--bg-main);
    background-attachment: fixed;
    min-height: 100vh;
}

/* 容器布局 */
.admin-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

/* 头部导航 */
.admin-header {
    background: rgba(46, 134, 171, 0.95);
    backdrop-filter: blur(20px);
    color: white;
    padding: 0;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-header h1 {
    padding: 20px 30px;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(45deg, #F18F01, #C73E1D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-header nav {
    display: flex;
    padding: 0 30px;
}

.admin-header nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 15px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 3px solid transparent;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.admin-header nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.admin-header nav a:hover::before {
    left: 100%;
}

.admin-header nav a:hover,
.admin-header nav a.active {
    color: white;
    border-bottom-color: var(--accent-sunset);
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* 主体内容 */
.admin-main {
    flex: 1;
    padding: 40px 60px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* 页面头部 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px 40px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-header h2 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-ocean), var(--primary-sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-ocean), var(--primary-sky));
    color: white;
    box-shadow: 0 4px 15px rgba(46, 134, 171, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 134, 171, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--neutral-medium), var(--neutral-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 157, 195, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 157, 195, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-coral), var(--accent-warm));
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
    margin: 0 4px;
    border-radius: 8px;
}

/* 提示消息 */
.alert {
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 2px;
}

.alert-success {
    color: #1B5E20;
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.alert-success::before {
    background: linear-gradient(180deg, var(--success-green), #4CAF50);
}

.alert-error {
    color: #B71C1C;
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
}

.alert-error::before {
    background: linear-gradient(180deg, var(--danger-coral), #F44336);
}

/* 数据表格 */
.data-table {
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border-collapse: collapse;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.data-table th,
.data-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table th {
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.1), rgba(162, 59, 114, 0.1));
    font-weight: 700;
    color: var(--neutral-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    height: 60px;
}

.data-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-ocean), var(--accent-sunset));
}

.data-table tr:hover {
    background: rgba(46, 134, 171, 0.08);
    transform: scale(1.005);
    transition: all 0.3s ease;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* 封面缩略图 */
.cover-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cover-thumbnail:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.no-cover {
    width: 60px;
    height: 40px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #6c757d;
}

/* 状态标签 */
.status-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.status-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.status-badge:hover::before {
    left: 100%;
}

.status-draft {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    color: #E65100;
    border-color: rgba(255, 193, 7, 0.4);
}

.status-published {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(56, 142, 60, 0.2));
    color: #1B5E20;
    border-color: rgba(76, 175, 80, 0.4);
}

.status-archived {
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.2), rgba(117, 117, 117, 0.2));
    color: #424242;
    border-color: rgba(158, 158, 158, 0.4);
}

/* 操作按钮组 */
.action-buttons {
    white-space: nowrap;
}

/* 无数据提示 */
.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.no-data a {
    color: #007bff;
    text-decoration: none;
}

.no-data a:hover {
    text-decoration: underline;
}

/* 模态框 */
.form-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.form-content {
    background: white;
    border-radius: 8px;
    padding: 24px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.form-content h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

/* 表单样式 */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group small {
    display: block;
    margin-top: 4px;
    color: #6c757d;
    font-size: 12px;
}

/* 当前封面预览 */
.current-cover {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.current-cover p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #495057;
}

.cover-preview {
    max-width: 200px;
    max-height: 120px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

/* 表单操作按钮 */
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #dee2e6;
}

/* 登录页面样式 */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.login-card h1 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 24px;
    color: #333;
}

.login-card .subtitle {
    text-align: center;
    margin-bottom: 24px;
    color: #6c757d;
    font-size: 14px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 35px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-ocean), var(--accent-sunset), var(--primary-sky));
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat-card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--primary-ocean), var(--primary-sky));
}

.stat-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--accent-sunset), var(--accent-warm));
}

.stat-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--success-green), var(--primary-ocean));
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-ocean), var(--primary-sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: var(--neutral-medium);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* 最近路书列表 */
.recent-roadbooks {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.recent-roadbooks h3 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-ocean), var(--primary-sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(46, 134, 171, 0.15);
}

.recent-roadbooks ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-roadbooks li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 70px;
}

.recent-roadbooks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--accent-sunset), var(--primary-ocean));
    border-radius: 0 3px 3px 0;
}

.recent-roadbooks li:hover {
    transform: translateX(12px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 35px rgba(46, 134, 171, 0.2);
}

.recent-roadbooks li:last-child {
    margin-bottom: 0;
}

.recent-roadbooks .roadbook-title {
    font-weight: 600;
    color: var(--neutral-dark);
    font-size: 18px;
    margin-bottom: 5px;
}

.recent-roadbooks .roadbook-time {
    color: var(--neutral-medium);
    font-size: 14px;
    margin-top: 5px;
}

/* 响应式设计 - 主要针对PC端优化 */
@media (max-width: 1200px) {
    .admin-main {
        padding: 30px 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }
    
    .stat-number {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .admin-main {
        padding: 20px;
    }
    
    .page-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 20px;
    }
    
    .page-header h2 {
        font-size: 24px;
    }
    
    .data-table th,
    .data-table td {
        padding: 12px 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-card {
        padding: 20px;
        min-height: auto;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .recent-roadbooks {
        padding: 20px;
    }
    
    .recent-roadbooks li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .admin-header h1 {
        font-size: 18px;
        padding: 15px 20px;
    }
    
    .admin-header nav {
        padding: 0 20px;
    }
    
    .admin-main {
        padding: 15px;
    }
    
    .page-header {
        padding: 15px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* 吃住玩规划页面特定样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 8px;
    padding: 0;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.close:hover {
    background-color: #e9ecef;
    color: #495057;
}

.modal form {
    padding: 24px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.page-header p {
    margin: 8px 0 0 0;
    color: #6c757d;
    font-size: 14px;
}

/* 规划类型选项卡样式 */
.plan-type-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e5e5;
    background: white;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.plan-type-tab {
    flex: 1;
    padding: 15px 20px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.plan-type-tab:hover {
    background: #e9ecef;
    color: #495057;
}

.plan-type-tab.active {
    background: white;
    color: #007bff;
    border-bottom-color: #007bff;
}

/* 规划内容区域样式 */
.plan-type-content {
    background: white;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: none; /* 默认隐藏 */
}

.plan-type-content.active {
    display: block; /* 激活时显示 */
}

.plan-type-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* 规划项目样式 */
.plan-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.plan-item:hover {
    background: #f1f3f4;
    border-color: #dee2e6;
}

.plan-item.recommended {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #f8f9fa 100%);
    position: relative;
}

.plan-item.recommended::before {
    content: "推荐";
    position: absolute;
    top: 8px;
    right: 8px;
    background: #28a745;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.plan-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.plan-item .meta {
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.plan-item .actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 8px;
}

.plan-item .actions a {
    padding: 4px 8px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.plan-item .actions a:hover {
    background: #0056b3;
}

.plan-item .actions a.delete {
    background: #dc3545;
}

.plan-item .actions a.delete:hover {
    background: #c82333;
}

/* 美食分类样式 */
.food-category {
    margin-bottom: 15px;
}

.food-category h4 {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.food-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.food-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 10px 12px;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.food-item.recommended {
    border-left: 3px solid #fd7e14;
    background: #fffaf5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .modal-content {
        max-width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal form {
        padding: 20px;
    }
    
    .plan-type-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .plan-type-tab {
        min-width: 120px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .header-actions {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .header-actions .btn {
        text-align: center;
    }
    
    .plan-item {
        padding: 12px;
    }
    
    .plan-item .actions {
        flex-wrap: wrap;
    }
} 