* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    color: #333;
    background: url('/image/background.jpeg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}
.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    position: relative;
    background: rgba(255,255,255,0.25);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 24px 0 10px 0;
}
.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}
.settings-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.settings-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.stat-card {
    background: rgba(255,255,255,0.25);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}
.stat-card:hover {
    transform: translateY(-5px);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.stat-label {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.domain-table {
    background: rgba(255,255,255,0.25);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    backdrop-filter: blur(18px);
}
.table-header {
    background: rgba(255,255,255,0.25);
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    backdrop-filter: blur(10px);
}
.table-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}
.table-container {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}
th {
    background: rgba(255,255,255,0.25);
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}
td {
    vertical-align: middle;
}
.domain-name {
    font-weight: 600;
    color: #667eea;
}
.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}
.status.active {
    background: #d4edda;
    color: #155724;
}
.status.expired {
    background: #f8d7da;
    color: #721c24;
}
.status.pending {
    background: #fff3cd;
    color: #856404;
}
.progress-bar {
    width: 100px;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    margin-right: 10px;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 4px;
    transition: width 0.3s ease;
}
.progress-fill.warning {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}
.progress-fill.danger {
    background: linear-gradient(90deg, #dc3545, #e83e8c);
}
.progress-text {
    font-size: 0.8rem;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.registrar {
    color: #fff;
    font-weight: 500;
}
.date {
    color: #fff;
    font-size: 0.9rem;
}
.action-buttons {
    display: flex;
    gap: 8px;
}
.btn-edit {
    padding: 6px 12px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.btn-edit:hover {
    background: #138496;
    transform: translateY(-1px);
}
.btn-delete, .btn-danger {
    padding: 6px 12px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.btn-delete:hover, .btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}
.btn-renew {
    padding: 6px 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.btn-renew:hover {
    background: #0056b3;
    transform: translateY(-1px);
}
.add-domain-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}
.add-domain-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 9999;
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.25);
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    backdrop-filter: blur(16px);
}
.modal-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
}
.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label:not(.toggle-label) {
    display: block;
    margin-bottom: 5px;
    color: #495057;
    font-weight: 500;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.btn-primary {
    background: #667eea;
    color: white;
}
.btn-secondary {
    background: #6c757d;
    color: white;
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.search-box {
    margin-bottom: 20px;
    background: transparent;
    border-radius: 8px;
    padding: 10px 10px 0 10px;
    backdrop-filter: blur(10px);
}
.search-box input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff;
}
.search-box input::placeholder {
    color: rgba(255,255,255,0.7);
}
.search-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.loading {
    text-align: center !important;
    padding: 40px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* 确保表格中的loading单元格完全居中 */
td.loading {
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 200px !important;
}

/* 覆盖表格的默认样式 */
table td.loading {
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 200px !important;
}
.settings-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.35);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.settings-section h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.settings-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.2rem;
}
.notification-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}
.notification-status.enabled {
    background: #d4edda;
    color: #155724;
}
.notification-status.disabled {
    background: #f8d7da;
    color: #721c24;
}
.expiring-domains {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.35);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: none;
}
.expiring-domains h4 {
    margin: 0 0 10px 0;
    color: #333;
}
.expiring-domain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ffeaa7;
}
.expiring-domain:last-child {
    border-bottom: none;
}
.domain-info {
    flex: 1;
}
.days-left {
    font-size: 0.8rem;
    color: #dc3545;
    font-weight: 600;
}
.settings-section label[style], .settings-section label.notification-method {
    background: rgba(255,255,255,0.25) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #333 !important;
}

/* 设置模态框样式 */
.settings-modal-body .checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 8px;
    margin-bottom: 16px;
}

/* 通知配置样式 */
.notification-config {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-config .form-group {
    margin-bottom: 16px;
}

.notification-config .form-group:last-child {
    margin-bottom: 0;
}

.settings-modal-body .checkbox-group label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: #fff;
    cursor: pointer;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    min-height: 52px;
    font-weight: 500;
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.settings-modal-body .checkbox-group label:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

/* 通知方式渐变样式 */
.notification-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-method {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.notification-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-method input[type="checkbox"]:checked ~ span {
    font-weight: 600;
}

.notification-method input[type="checkbox"]:checked {
    accent-color: #fff;
}

/* 邮件通知方式 - 蓝色渐变 */
.email-method {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
}

.email-method:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4c93 100%) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Telegram通知方式 - 青色渐变 */
.telegram-method {
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%) !important;
    border-color: rgba(0, 180, 219, 0.3) !important;
}

.telegram-method:hover {
    background: linear-gradient(135deg, #0099c7 0%, #007299 100%) !important;
    border-color: rgba(0, 180, 219, 0.5) !important;
    box-shadow: 0 4px 12px rgba(0, 180, 219, 0.3);
}

/* 微信通知方式 - 绿色渐变 */
.wechat-method {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%) !important;
    border-color: rgba(86, 171, 47, 0.3) !important;
}

.wechat-method:hover {
    background: linear-gradient(135deg, #4a9a26 0%, #97d4b8 100%) !important;
    border-color: rgba(86, 171, 47, 0.5) !important;
    box-shadow: 0 4px 12px rgba(86, 171, 47, 0.3);
}

/* QQ通知方式 - 橙色渐变 */
.qq-method {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%) !important;
    border-color: rgba(255, 154, 158, 0.3) !important;
}

.qq-method:hover {
    background: linear-gradient(135deg, #ff8a8e 0%, #febfdf 100%) !important;
    border-color: rgba(255, 154, 158, 0.5) !important;
    box-shadow: 0 4px 12px rgba(255, 154, 158, 0.3);
}

/* Webhook通知方式 - 紫色渐变 */
.webhook-method {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    border-color: rgba(240, 147, 251, 0.3) !important;
}

.webhook-method:hover {
    background: linear-gradient(135deg, #e083eb 0%, #e5475c 100%) !important;
    border-color: rgba(240, 147, 251, 0.5) !important;
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.3);
}

.settings-modal-body .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-modal-body .checkbox-group input[type="checkbox"]:checked {
    transform: scale(1.1);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-footer .btn-primary {
    background: #667eea;
    color: white;
}

.modal-footer .btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.modal-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 通用模态框覆盖层 */
.modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    padding: 20px;
}

/* 设置模态框美化样式 */
.settings-modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.settings-modal-content {
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 0;
    transform: none;
    top: auto;
    left: auto;
    position: relative;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.settings-modal-header {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 16px 16px 0 0;
    padding: 20px 24px;
    position: relative;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.settings-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.settings-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.settings-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.settings-modal-body {
    padding: 24px;
}

.settings-modal-footer {
    border-radius: 0 0 16px 16px;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* 开关样式 */
.toggle-group {
    margin-bottom: 20px;
    margin-top: 8px;
}

.toggle-label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    padding: 12px 16px !important;
    margin-bottom: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.toggle-label:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute !important;
    cursor: pointer !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(145deg, #e6e6e6, #ffffff) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 30px !important;
    border: 2px solid #e0e0e0 !important;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 50% !important;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

.toggle-input:checked + .toggle-slider {
    background: linear-gradient(145deg, #10b981, #059669) !important;
    border-color: #10b981 !important;
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
}

.toggle-input:checked + .toggle-slider:before {
    transform: translateX(26px) !important;
    background: linear-gradient(145deg, #ffffff, #f8f9fa) !important;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.9) !important;
}

/* 状态指示器已移除 */

.toggle-switch:hover .toggle-slider {
    transform: scale(1.02) !important;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
}

.toggle-input:checked + .toggle-slider:hover {
    transform: scale(1.02) !important;
    box-shadow: 
        0 6px 20px rgba(16, 185, 129, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
}

.toggle-text {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    position: relative;
}

/* 表单元素美化 */
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #fff;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.form-input, .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.35);
}

.form-input:disabled, .form-select:disabled {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 复选框美化 - 已合并到上面的设置模态框样式中 */

/* 设置按钮美化 */
.settings-modal-footer .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.settings-modal-footer .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;
}

.settings-modal-footer .btn:hover::before {
    left: 100%;
}

/* 取消按钮 - 红色渐变 */
.btn-cancel-settings {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-cancel-settings:hover {
    background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn-cancel-settings:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* 保存按钮 - 绿色渐变 */
.btn-save-settings {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(86, 171, 47, 0.3);
}

.btn-save-settings:hover {
    background: linear-gradient(135deg, #4a9a26 0%, #97d4b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(86, 171, 47, 0.4);
}

.btn-save-settings:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(86, 171, 47, 0.3);
}

/* 域名模态框按钮样式 - 与设置菜单按钮保持一致 */
.btn-cancel-domain {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel-domain:hover {
    background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn-cancel-domain:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-save-domain {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(86, 171, 47, 0.3);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-save-domain:hover {
    background: linear-gradient(135deg, #4a9a26 0%, #97d4b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(86, 171, 47, 0.4);
}

.btn-save-domain:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(86, 171, 47, 0.3);
}

/* 按钮禁用状态 */
.settings-modal-footer .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.settings-modal-footer .btn:disabled::before {
    display: none;
}



/* 日志模态框样式 */
.logs-modal-overlay {
  background: rgba(0, 0, 0, 0.1);
  z-index: 99999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.logs-modal-content {
  width: 100%;
  height: 100vh;
  max-width: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.65) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: 0;
  overflow: hidden;
  z-index: 100000;
  position: relative;
  display: flex;
  flex-direction: column;
}

.logs-modal-header {
  background: rgba(255, 255, 255, 0.45);
  padding: 28px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logs-modal-header h2 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.logs-modal-close {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 14px;
  border-radius: 14px;
  transition: all 0.3s ease;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logs-modal-close:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
}

.logs-modal-body {
  padding: 40px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.3);
}

/* 日志控制栏 */
.logs-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  flex-shrink: 0;
}

.logs-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.logs-filter .form-label {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  white-space: nowrap;
}

.logs-filter .form-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 1rem;
  min-width: 150px;
}

.logs-filter .form-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.btn-clear-logs {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  font-size: 1rem;
}

.btn-clear-logs:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn-clear-logs:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 日志容器 */
.logs-container {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.logs-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: #fff;
  gap: 20px;
  flex: 1;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.logs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.7);
  gap: 20px;
  flex: 1;
}

.logs-empty svg {
  opacity: 0.5;
}

/* 日志列表 */
.logs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  overflow-y: auto;
}

.log-item {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
}

.log-item:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.log-action {
  display: flex;
  align-items: center;
  gap: 8px;
}

.log-icon {
  font-size: 1.2rem;
}

.log-action-text {
  font-weight: 600;
  color: #fff;
  text-transform: capitalize;
}

.log-status {
  display: flex;
  align-items: center;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.log-content {
  margin-bottom: 12px;
}

.log-details {
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.5;
}

.log-domain,
.log-method,
.log-device,
.log-error {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 4px;
}

.log-error {
  color: #ff6b6b;
}

.log-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.log-time {
  font-weight: 500;
}

.log-ip {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}

/* 日志按钮样式 */
.logs-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  z-index: 10;
}

.btn-logs {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 10;
  pointer-events: auto;
  user-select: none;
}

.btn-logs::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-logs:hover::before {
  left: 100%;
}

.btn-logs:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4c93 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-logs:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* 分页 */
.logs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-page {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(240, 147, 251, 0.3);
}

.btn-page:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
}

.btn-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-page:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(240, 147, 251, 0.3);
}

.page-info {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* 响应式设计 */

@media (max-width: 768px) {
    .settings-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .settings-modal-header {
        padding: 16px 20px;
    }

    .settings-modal-body {
        padding: 20px;
    }

    .settings-modal-footer {
        padding: 16px 20px;
    }

    /* 日志模态框移动端样式 */
    .logs-modal-overlay {
        padding: 0;
    }

    .logs-modal-content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .logs-modal-header {
        padding: 16px 20px;
    }

    .logs-modal-header h2 {
        font-size: 1.4rem;
    }

    .logs-modal-close {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .logs-modal-body {
        padding: 20px;
    }

    .logs-controls {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .logs-filter {
        justify-content: flex-start;
        gap: 8px;
    }

    .logs-filter .form-label {
        font-size: 0.9rem;
    }

    .logs-filter .form-select {
        min-width: 120px;
        font-size: 0.9rem;
    }

    .settings-modal-body .checkbox-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .settings-modal-body .checkbox-group label {
        padding: 10px 14px;
        min-height: 44px;
        font-size: 13px;
    }
    
    .settings-modal-footer .btn {
        min-width: 100px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .settings-modal-footer {
        gap: 12px;
    }
    
    .container {
        padding: 10px;
    }
    .header h1 {
        font-size: 2rem;
    }
    .settings-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    th, td {
        padding: 10px;
        font-size: 0.9rem;
    }
    .table-container {
        font-size: 0.8rem;
    }
    .action-buttons {
        flex-direction: column;
        gap: 4px;
    }
    .btn-edit, .btn-delete {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    .modal-content {
        width: 95%;
        padding: 20px;
    }
}
.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
}
.sortable:after {
    content: '\25B2';
    font-size: 0.7em;
    position: absolute;
    right: 6px;
    opacity: 0.4;
    top: 50%;
    transform: translateY(-60%);
}
.sortable.sorted-asc:after {
    content: '\25B2';
    opacity: 1;
}
.sortable.sorted-desc:after {
    content: '\25BC';
    opacity: 1;
}

/* 数据导入/导出样式 */
.export-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.btn-export {
    background: rgba(102, 126, 234, 0.8);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-export:hover:not(:disabled) {
    background: rgba(102, 126, 234, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-export:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.import-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-import {
    background: rgba(34, 197, 94, 0.8);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-import:hover {
    background: rgba(34, 197, 94, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.import-hint {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.import-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.import-error svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.import-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.import-success svg {
    flex-shrink: 0;
    margin-top: 1px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .export-buttons {
        flex-direction: column;
    }
    
    .btn-export {
        width: 100%;
        justify-content: center;
    }
    
    .import-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-import {
        width: 100%;
        justify-content: center;
    }
    
    .import-hint {
        text-align: center;
    }
}

/* WebDAV相关样式 */
.webdav-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-backup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-backup:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-backup:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-restore {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(240, 147, 251, 0.3);
}

.btn-restore:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
}

.btn-restore:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 分页按钮样式 - 使用与WebDAV恢复按钮相同的渐变效果 */
.btn-pagination {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(240, 147, 251, 0.3);
}

.btn-pagination:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
}

.btn-pagination:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-pagination:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(240, 147, 251, 0.3);
}

.webdav-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.webdav-error svg {
    flex-shrink: 0;
    color: #dc3545;
}

.webdav-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.webdav-success svg {
    flex-shrink: 0;
    color: #28a745;
}

@media (max-width: 768px) {
    .webdav-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-backup,
    .btn-restore {
        width: 100%;
        justify-content: center;
    }
    
    .notification-methods {
        gap: 8px;
    }
    
    .notification-method {
        padding: 12px 14px !important;
        font-size: 12px !important;
    }
} 

/* 确认模态框样式 */
.confirm-modal-overlay {
  background: rgba(0, 0, 0, 0.6);
  z-index: 999999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.confirm-modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.3) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  z-index: 1000000;
  position: relative;
}

.confirm-modal-header {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.confirm-modal-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
}

.confirm-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.confirm-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.confirm-modal-body {
  padding: 24px;
  color: #fff;
  line-height: 1.6;
}

.confirm-modal-body p {
  margin: 0;
  font-size: 1rem;
}

.confirm-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.confirm-modal-footer .btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.9rem;
}

.confirm-modal-footer .btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
}

.confirm-modal-footer .btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-1px);
}

.confirm-modal-footer .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.confirm-modal-footer .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.confirm-modal-footer .btn-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
}

.confirm-modal-footer .btn-warning:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-1px);
}

.confirm-modal-footer .btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
}

.confirm-modal-footer .btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .confirm-modal-overlay {
    padding: 10px;
  }
  
  .confirm-modal-content {
    border-radius: 16px;
  }
  
  .confirm-modal-header {
    padding: 16px 20px;
  }
  
  .confirm-modal-header h3 {
    font-size: 1.1rem;
  }
  
  .confirm-modal-body {
    padding: 20px;
  }
  
  .confirm-modal-footer {
    padding: 16px 20px;
    flex-direction: column;
  }
  
  .confirm-modal-footer .btn {
    width: 100%;
  }
}
