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

/* 全局a标签样式优化 - 移除下划线并禁用点击历史色 */
a {
    text-decoration: none;
    color: inherit;
}

a:visited {
    color: inherit;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1e1e1e;
}

/* 管理员头部样式 */
.admin-header {
    background-color: #1a202c;
    color: #e0e0e0;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    font-size: 24px;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right span {
    margin-right: 20px;
}

.logout-btn {
    color: #fff;
    text-decoration: none;
    padding: 5px 15px;
    background-color: #e74c3c;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #c0392b;
}

/* 容器样式 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 内容区域样式 */
.content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    min-height: calc(100vh - 200px);
}

/* 内容区域样式 */
.content {
    flex: 1;
    background-color: #2d3748;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #4a5568;
}

/* 主内容区域样式 */
.main-content {
    background-color: #2d3748;
    border-radius: 5px;
    min-height: auto;
    padding: 0;
}

/* 侧边栏样式 */
.sidebar {
    width: 200px;
    background-color: #1a202c;
    border-radius: 5px;
    padding: 20px 0;
    flex-shrink: 0;
}

.menu {
    list-style: none;
}

.menu-item a {
    display: block;
    padding: 15px 20px;
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.menu-item a:hover,
.menu-item.active a {
    background-color: #2c5282;
    color: #fff;
}

.menu-icon {
    margin-right: 10px;
    font-size: 18px;
}

/* 主内容区域样式 */
.main-content {
    flex: 1;
    background-color: #2d3748;
    border-radius: 5px;
    padding: 30px;
    min-height: calc(100vh - 150px);
}

/* 页面标题样式 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #4a5568;
}

.page-header h2 {
    font-size: 24px;
    color: #e0e0e0;
}

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

.header-actions select {
    padding: 8px 12px;
    border: 1px solid #4a5568;
    border-radius: 5px;
    font-size: 14px;
    background-color: #1a202c;
    color: #e0e0e0;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2c5282;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 14px;
}

.btn-primary:hover {
    background-color: #1a365d;
}

.btn-edit {
    display: inline-block;
    padding: 5px 15px;
    background-color: #dd6b20;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-edit:hover {
    background-color: #c05621;
}

.btn-delete {
    display: inline-block;
    padding: 5px 15px;
    background-color: #c53030;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-delete:hover {
    background-color: #9b2c2c;
}

/* 数据表格样式 */
/* 为表格容器添加滚动支持 */
.main-content {
    overflow-x: auto;
}

/* 确保表格不会超出容器 */
.data-table {
    width: 100%;
    min-width: 640px; /* 确保表格有最小宽度以保持内容可读性 */
    border-collapse: collapse;
}

/* 确保表头和表格内容正确对齐 */
.data-table th,
.data-table td {
    white-space: nowrap; /* 默认不换行，保持表格结构 */
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #4a5568;
}

/* 优化批量操作区域的select样式，使其与按钮样式协调 */
.batch-controls select {
    padding: 5px 12px;
    border: 1px solid #4a5568;
    border-radius: 5px;
    font-size: 14px;
    background-color: #1a202c;
    color: #e0e0e0;
    margin-right: 10px;
    min-width: 150px;
}

/* 确保button标签的批量操作按钮完全应用btn-edit和btn-delete样式 */
.batch-controls button.btn-edit,
.batch-controls button.btn-delete {
    border: none;
    cursor: pointer;
    display: inline-block;
}

/* 确保按钮之间的间距一致 */
.batch-controls button.btn-edit {
    margin-right: 10px;
}

/* 优化批量操作容器样式 */
.batch-actions-container {
    margin-top: 15px;
    padding: 15px 20px;
    border-radius: 5px;
}

.batch-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.batch-info {
    color: #e0e0e0;
    font-size: 14px;
}

.batch-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .batch-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .batch-controls {
        justify-content: center;
    }
}

.batch-info span {
    font-weight: bold;
    color: #4299e1;
}

.batch-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 确保批量操作的select使用与类型选择框相同的样式 */
.batch-controls select {
    padding: 8px 12px;
    border: 1px solid #4a5568;
    border-radius: 5px;
    font-size: 14px;
    background-color: #1a202c;
    color: #e0e0e0;
}

/* 确保按钮样式与编辑、删除按钮一致 */
.batch-controls button {
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.batch-controls .btn-edit {
    padding: 5px 15px;
    background-color: #dd6b20;
    color: #fff;
    border-radius: 5px;
}

.batch-controls .btn-edit:hover {
    background-color: #c05621;
}

.batch-controls .btn-delete {
    padding: 5px 15px;
    background-color: #c53030;
    color: #fff;
    border-radius: 5px;
}

.batch-controls .btn-delete:hover {
    background-color: #9b2c2c;
}

/* 响应式设计 - 优化批量操作区域 */
@media (max-width: 768px) {
    .batch-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .batch-controls {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .batch-controls select {
        width: 100%;
    }
    
    .batch-controls button {
        flex: 1;
        min-width: 120px;
    }
}

/* 删除之前重复的样式定义 */
/* 删除：.batch-actions select { ... } */

.data-table th:first-child, .data-table td:first-child {
    width: 40px;
    text-align: center;
}

.data-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* 为IP地址列添加自动换行功能 */
.data-table td:nth-child(5) {
    white-space: normal;
    word-break: break-all;
    max-width: 150px;
}

/* 对于内容可能过长的其他列也进行处理 */
.data-table td:nth-child(3), /* 留言内容列 */
.data-table td:nth-child(4)  /* 关联视频列 */
{
    white-space: normal;
    word-break: break-word;
    max-width: 200px;
}

/* 优化响应式设计 - 移动设备上的表格显示 */
@media (max-width: 768px) {
    /* 为表格容器添加内边距，防止滚动条紧贴内容 */
    .main-content {
        padding: 15px;
        box-sizing: border-box;
    }
    
    /* 确保在小屏幕上表格内容可以自动换行 */
    .data-table th,
    .data-table td {
        padding: 8px 10px; /* 适当减少内边距以适应小屏幕 */
        font-size: 14px; /* 适当减小字体大小 */
    }
    
    /* 确保IP地址在小屏幕上能够自动换行 */
    .data-table td:nth-child(5) {
        white-space: normal !important;
        word-break: break-all !important;
        max-width: 120px;
    }
}
.data-table th {
    background-color: #1a202c;
    font-weight: bold;
    color: #e0e0e0;
}

.data-table tr:hover {
    background-color: #4a5568;
}

/* 状态标签样式 */
.status-active {
    color: #48bb78;
    font-weight: bold;
}

.status-inactive {
    color: #f56565;
}

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

.stat-item {
    background-color: #1a202c;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: bold;
    color: #4299e1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #cbd5e0;
}

/* 表单容器样式 */
.form-container {
    background-color: #2d3748;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

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

/* 表单标签样式 */
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #e0e0e0;
}

/* 表单输入框样式 */
.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #4a5568;
    border-radius: 4px;
    background-color: #1a202c;
    color: #e0e0e0;
    font-size: 14px;
}

.form-input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* 表单操作按钮样式 */
.form-actions {
    margin-top: 20px;
}

/* 表单提示文本样式 */
.form-hint {
    font-size: 12px;
    color: #a0aec0;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* 表单示例文本样式 */
.form-example {
    font-size: 12px;
    color: #718096;
    margin-top: 2px;
}

/* 表单控件基础样式 */
.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #4a5568;
    border-radius: 4px;
    background-color: #1a202c;
    color: #e0e0e0;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.form-control::placeholder {
    color: #718096;
    opacity: 1;
}

.form-control:disabled {
    background-color: #2d3748;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-control[type="checkbox"],
.form-control[type="radio"] {
    width: auto;
    margin-right: 8px;
}

/* 下拉选择框样式 */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a0aec0'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

/* 文本域样式 */
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* 复选框样式 */
.form-checkbox {
    margin-right: 8px;
}

/* 复选框样式 */
.form-checkbox {
    margin-right: 8px;
}

/* 美化复选框样式 */
.custom-checkbox {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #1a202c;
    border: 1px solid #4a5568;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: #2d3748;
    border-color: #4299e1;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #2c5282;
    border-color: #2c5282;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 5px;
    width: 7px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 美化表单组 */
.form-group.optimized {
    background-color: #1a202c;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #2c5282;
    transition: transform 0.2s ease;
}

.form-group.optimized:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-group.optimized .form-hint {
    margin-top: 8px;
    line-height: 1.4;
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #cbd5e0;
}

.breadcrumb a {
    color: #4299e1;
}

.breadcrumb a:hover {
    text-decoration: none;
}

/* 无数据提示 */
.no-data {
    text-align: center;
    padding: 50px;
    color: #a0aec0;
}

/* 管理员页脚样式 */
.admin-footer {
    background-color: #1a202c;
    color: #e0e0e0;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background-color: #1a202c;
    color: #4299e1;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: #2c5282;
    color: #fff;
}

.pagination a.active {
    background-color: #2c5282;
    color: #fff;
}

.pagination a.disabled {
    background-color: #2d3748;
    color: #4a5568;
    cursor: not-allowed;
}

.pagination a.disabled:hover {
    background-color: #2d3748;
    color: #4a5568;
}

/* 管理员信息样式 */
.admin-info {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.edit-profile-btn {
    margin-left: 10px;
    color: #4299e1;
    font-size: 14px;
}

.edit-profile-btn:hover {
    text-decoration: none;
}



/* 响应式设计 - 优化整合 */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    /* 移除错误的flex-direction设置，添加正确的宽度设置 */
    .content {
        width: 100%;
        max-width: none;
    }
    
    .sidebar {
        width: 100%;
        margin-bottom: 20px;
    }
    
    /* 保留其他响应式样式 */
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .header-actions {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-actions select {
        width: 100%;
    }
}


.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: #2d3748; /* 与内容区域背景色一致 */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #4a5568; /* 与内容区域边框一致 */
}
.login-title {
    text-align: center;
    margin-bottom: 30px;
    color: #e0e0e0; /* 与整体文本颜色一致 */
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #cbd5e0; /* 与菜单文本颜色一致 */
}
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #4a5568; /* 与边框颜色一致 */
    border-radius: 5px;
    font-size: 16px;
    background-color: #1a202c; /* 与侧边栏背景色一致 */
    color: #e0e0e0; /* 与文本颜色一致 */
}
.form-group input:focus {
    outline: none;
    border-color: #2c5282; /* 与链接悬停颜色一致 */
}
.form-group button {
    width: 100%;
    padding: 12px;
    background-color: #2c5282; /* 与主要按钮颜色一致 */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.form-group button:hover {
    background-color: #1a365d; /* 与按钮悬停颜色一致 */
}
/* 成功消息样式 */
.success-message {
    background-color: #48bb78;
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* 错误消息样式 */
.error-message {
    background-color: #f56565;
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* 提示框样式 */
.note-box {
    background-color: #ed8936;
    color: #fff;
    padding: 16px;
    border-radius: 4px;
}

.note-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.note-box ul {
    margin: 0;
    padding-left: 20px;
}

.note-box li {
    margin-bottom: 5px;
}

.note-box li:last-child {
    margin-bottom: 0;
}
/* 调整底部提示文字颜色 */
.login-container p {
    color: #a0aec0 !important;
}

/* 成功提示样式 */
.alert.alert-success {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(46, 204, 113, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    max-width: 80%;
    text-align: center;
    animation: fadeIn 0.3s ease-out, fadeOut 0.3s ease-in 2.7s forwards;
}

/* 错误提示样式 */
.alert.alert-error {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    max-width: 80%;
    text-align: center;
    animation: fadeIn 0.3s ease-out, fadeOut 0.3s ease-in 2.7s forwards;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* 搜索采集页面样式 */
.search-section {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
}

.search-section h4 {
    margin-bottom: 15px;
    color: #ccc;
}

.form-group {
    margin-bottom: 10px;
}

.form-input {
    padding: 8px;
    width: 300px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-note {
    color: #666;
    font-size: 14px;
}

.movies-list-section {
    margin-top: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* 按钮样式 */
.btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: #337ab7;
    color: white;
}

.btn-primary:hover {
    background-color: #286090;
}

.btn-danger {
    background-color: #f44336;
    color: white;
}

.btn-danger:hover {
    background-color: #d32f2f;
}
.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.search-form input[type="text"] {
    padding: 8px 15px;
    border: 1px solid #4a5568;
    border-radius: 5px;
    font-size: 14px;
    background-color: #1a202c;
    color: #e0e0e0;
    min-width: 200px;
    transition: border-color 0.3s ease;
}

.search-form input[type="text"]:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.2);
}

.search-form input[type="text"]::placeholder {
    color: #a0aec0;
}

.btn-search {
    padding: 8px 20px;
    background-color: #2c5282;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-search:hover {
    background-color: #1a365d;
}

/* 响应式搜索表单样式 */
@media (max-width: 768px) {
    .header-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .search-form {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-form input[type="text"] {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .header-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-form {
        order: 1;
    }
    
    .header-actions select {
        order: 2;
    }
    
    .btn-primary {
        order: 3;
        text-align: center;
    }
}

/* 管理员下拉菜单样式 */
.admin-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.admin-dropdown:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 为桌面端添加鼠标悬停显示下拉菜单的效果 */
@media (min-width: 769px) {
    .admin-dropdown:hover .dropdown-content {
        display: block;
    }
    
    .admin-dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #333;
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 4px;
    z-index: 1000;
    margin-top: 5px;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #555;
}

.dropdown-content a:last-child {
    border-top: 1px solid #555;
    padding-top: 10px;
    padding-bottom: 10px;
}

.admin-info {
    position: relative;
}

.admin-dropdown.active .dropdown-content {
    display: block;
}

.dropdown-arrow {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s;
}

.admin-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-icon {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* 移动端自适应样式 */
@media (max-width: 768px) {
    .admin-header {
        padding: 8px 12px;
        height: auto;
    }
    
    .header-left h1 {
        font-size: 18px;
        margin: 5px 0;
    }
    
    .header-right {
        margin-left: auto;
    }
    
    .admin-dropdown {
        padding: 6px 10px;
    }
    
    .admin-dropdown span {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
        display: inline-block;
        vertical-align: middle;
    }
    
    .dropdown-content {
        min-width: 130px;
        right: 0;
    }
    
    .dropdown-content a {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .dropdown-icon {
        width: 14px;
    }
}

@media (max-width: 480px) {
    .admin-header {
        padding: 6px 8px;
    }
    
    .header-left h1 {
        font-size: 16px;
        margin: 3px 0;
    }
    
    .admin-dropdown span {
        font-size: 13px;
        max-width: 100px;
    }
    
    .dropdown-content {
        min-width: 120px;
    }
    
    .dropdown-content a {
        padding: 8px 12px;
        font-size: 13px;
    }
}