/* Admin Panel Additional Styles */ /* ============================================================ BOX AUTOMATION SECTION ============================================================ */ .box-section { background: #111; border-radius: 12px; padding: 2rem; margin-bottom: 2rem; border: 1px solid #222; } .box-section h2 { color: #fff; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.4rem; } .box-section .section-description { color: #888; font-size: 0.85rem; margin-bottom: 1.5rem; } /* Status grid */ .box-status-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 1rem; margin-bottom: 1.8rem; } @media (max-width: 900px) { .box-status-grid { grid-template-columns: 1fr 1fr; } } .box-status-card { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 8px; padding: 1rem 1.2rem; display: flex; align-items: center; gap: 0.8rem; } .box-status-indicator { width: 12px; height: 12px; border-radius: 50%; background: #444; flex-shrink: 0; } .box-status-indicator.online { background: #22c55e; box-shadow: 0 0 6px #22c55e88; } .box-status-indicator.offline { background: #ef4444; } .box-status-indicator.warning { background: #f59e0b; } .box-status-title { color: #fff; font-size: 0.9rem; font-weight: 600; } .box-status-sub { color: #888; font-size: 0.75rem; margin-top: 0.1rem; } .box-stat-label { color: #888; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; } .box-stat-value { color: #FFC407; font-size: 0.8rem; font-weight: 600; margin-top: 0.2rem; word-break: break-all; } /* History controls */ .box-history-controls h3 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 0.8rem; } .box-filter-row { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; } .box-filter-row label { color: #888; font-size: 0.85rem; } .box-date-input { background: #1a1a1a; color: #fff; border: 1px solid #333; border-radius: 6px; padding: 0.4rem 0.7rem; font-size: 0.85rem; font-family: inherit; } .box-date-input:focus { outline: none; border-color: #FFC407; } /* Summary row */ .box-summary-row { color: #888; font-size: 0.82rem; margin-bottom: 0.8rem; padding: 0.5rem 0.8rem; background: #1a1a1a; border-radius: 6px; border: 1px solid #2a2a2a; } /* History table */ .box-history-table-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid #2a2a2a; } .box-history-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; } .box-history-table thead { background: #1a1a1a; } .box-history-table th { color: #888; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.7rem 1rem; text-align: left; border-bottom: 1px solid #2a2a2a; } .box-history-table td { color: #ccc; padding: 0.7rem 1rem; border-bottom: 1px solid #1a1a1a; vertical-align: middle; } .box-history-table tbody tr:hover td { background: #161616; } .box-history-table tbody tr:last-child td { border-bottom: none; } .box-empty { text-align: center; color: #555; padding: 2rem !important; } .box-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; } .box-badge.success { background: #14532d; color: #22c55e; } .box-badge.failure { background: #450a0a; color: #ef4444; } .box-badge.skipped { background: #2a2000; color: #f59e0b; } .header-actions { margin-top: 1rem; } .btn-link { color: var(--primary-yellow); text-decoration: none; font-weight: 600; padding: 0.5rem 1rem; border: 2px solid var(--primary-yellow); border-radius: 6px; display: inline-block; transition: all 0.3s ease; } .btn-link:hover { background-color: var(--primary-yellow); color: var(--primary-black); } /* Metrics Section */ .metrics-section { background-color: var(--secondary-black); border-radius: 12px; padding: 2rem; margin-bottom: 2rem; } .metrics-section h2 { font-size: 1.75rem; font-weight: 600; color: var(--primary-yellow); margin-bottom: 1.5rem; } .metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; } .metric-card { background-color: var(--primary-black); border: 2px solid var(--border-color); border-radius: 8px; padding: 2rem; text-align: center; transition: all 0.3s ease; } .metric-card:hover { border-color: var(--primary-yellow); transform: translateY(-2px); } .metric-value { font-size: 3rem; font-weight: 700; color: var(--primary-yellow); margin-bottom: 0.5rem; } .metric-label { font-size: 0.875rem; color: var(--text-secondary); font-weight: 500; } /* Actions Bar */ .actions-bar { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; } .actions-bar .btn-primary, .actions-bar .btn-secondary { flex: 1; min-width: 200px; } .btn-danger { background-color: transparent; color: #ff0000; border: 2px solid #ff0000; } .btn-danger:hover { background-color: #ff0000; color: white; border-color: #ff0000; } /* Platforms Section */ .platforms-section { margin-bottom: 3rem; } .platforms-section h2 { font-size: 1.75rem; font-weight: 600; color: var(--primary-yellow); margin-bottom: 1.5rem; } .platform-card { background-color: var(--secondary-black); border: 2px solid var(--border-color); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; transition: all 0.3s ease; } .platform-card:hover { border-color: var(--primary-yellow); } .platform-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); } .platform-title { font-size: 1.5rem; font-weight: 700; color: var(--primary-yellow); } .platform-key { font-size: 0.875rem; color: var(--text-muted); font-family: 'Courier New', monospace; } .platform-actions { display: flex; gap: 0.5rem; } .btn-icon { padding: 0.5rem 1rem; background-color: transparent; color: var(--primary-yellow); border: 1px solid var(--primary-yellow); border-radius: 6px; font-family: 'Montserrat', sans-serif; font-size: 0.875rem; cursor: pointer; transition: all 0.3s ease; } .btn-icon:hover { background-color: var(--primary-yellow); color: var(--primary-black); } .btn-icon.danger { border-color: #ff0000; color: #ff0000; } .btn-icon.danger:hover { background-color: #ff0000; color: white; } .platform-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-bottom: 1rem; } .info-badge { background-color: var(--primary-black); border: 1px solid var(--border-color); border-radius: 6px; padding: 0.75rem; } .info-badge-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.25rem; } .info-badge-value { font-size: 1rem; color: var(--text-primary); font-weight: 600; } .formats-table { width: 100%; border-collapse: collapse; margin-top: 1rem; } .formats-table th, .formats-table td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--border-color); } .formats-table th { background-color: var(--primary-black); color: var(--primary-yellow); font-weight: 600; font-size: 0.875rem; } .formats-table td { color: var(--text-secondary); font-size: 0.875rem; } .formats-table tr:hover { background-color: rgba(255, 196, 7, 0.05); } /* Naming Conventions Section */ .naming-section { background-color: var(--secondary-black); border-radius: 12px; padding: 2rem; margin-bottom: 3rem; } .naming-section h2 { font-size: 1.75rem; font-weight: 600; color: var(--primary-yellow); margin-bottom: 0.5rem; } .section-description { color: var(--text-secondary); margin-bottom: 2rem; font-size: 0.9375rem; } .naming-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .naming-panel { background-color: var(--primary-black); border: 1px solid var(--border-color); border-radius: 8px; padding: 1.5rem; } .naming-panel h3 { color: var(--primary-yellow); font-size: 1.25rem; margin-bottom: 0.5rem; } .naming-panel .hint { color: var(--text-muted); font-size: 0.8125rem; margin-bottom: 1rem; display: block; } .pattern-item { background-color: var(--secondary-black); border: 1px solid var(--border-color); border-radius: 6px; padding: 1rem; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 1rem; } .pattern-item:hover { border-color: var(--primary-yellow); } .pattern-select { flex: 0 0 180px; } .pattern-input { flex: 1; } .pattern-remove { flex: 0 0 auto; background: none; border: none; color: #ff0000; font-size: 1.25rem; cursor: pointer; padding: 0.25rem 0.5rem; } .pattern-remove:hover { color: #ff6666; } .btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; } .naming-actions { display: flex; gap: 1rem; margin-top: 2rem; } .naming-actions .btn-primary, .naming-actions .btn-secondary { flex: 1; } /* Modal */ .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); z-index: 1000; overflow-y: auto; padding: 2rem; } .modal-content { background-color: var(--secondary-black); border: 2px solid var(--primary-yellow); border-radius: 12px; max-width: 900px; margin: 0 auto; padding: 0; } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 2px solid var(--border-color); } .modal-header h2 { color: var(--primary-yellow); font-size: 1.5rem; margin: 0; } .modal-close { background: none; border: none; color: var(--text-primary); font-size: 2rem; cursor: pointer; padding: 0; width: 40px; height: 40px; line-height: 40px; text-align: center; transition: all 0.3s ease; } .modal-close:hover { color: var(--primary-yellow); transform: rotate(90deg); } .modal-body { padding: 2rem; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; } .form-group h3 { color: var(--primary-yellow); font-size: 1.25rem; margin: 2rem 0 1rem 0; padding-top: 1rem; border-top: 1px solid var(--border-color); } .format-config { background-color: var(--primary-black); border: 1px solid var(--border-color); border-radius: 8px; padding: 1rem; margin-bottom: 1rem; position: relative; } .format-config-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .format-config-title { color: var(--primary-yellow); font-weight: 600; } .btn-remove { background: none; border: none; color: #ff0000; font-size: 1.5rem; cursor: pointer; padding: 0; width: 30px; height: 30px; line-height: 30px; text-align: center; } .btn-remove:hover { color: #ff6666; } .format-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; } .format-fields .form-group { margin-bottom: 0; } .modal-actions { display: flex; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); } .modal-actions .btn-primary, .modal-actions .btn-secondary { flex: 1; } /* Success/Error Messages */ .message { padding: 1rem; border-radius: 6px; margin-bottom: 1rem; font-weight: 600; } .message.success { background-color: rgba(0, 255, 0, 0.1); border: 2px solid #00ff00; color: #00ff00; } .message.error { background-color: rgba(255, 0, 0, 0.1); border: 2px solid #ff0000; color: #ff6666; } /* Empty State */ .empty-state { text-align: center; padding: 3rem; color: var(--text-muted); } .empty-state h3 { color: var(--text-secondary); margin-bottom: 0.5rem; } /* Responsive */ @media (max-width: 768px) { .modal { padding: 1rem; } .platform-header { flex-direction: column; align-items: flex-start; gap: 1rem; } .platform-actions { width: 100%; justify-content: flex-end; } .actions-bar { flex-direction: column; } .actions-bar .btn-primary, .actions-bar .btn-secondary { width: 100%; } .format-fields { grid-template-columns: 1fr; } }