Files
karaoke-gen/frontend/styles.css
T

4494 lines
83 KiB
CSS

/* CSS Variables */
:root {
--primary-color: #667eea;
--secondary-color: #764ba2;
--surface-color: #ffffff;
--border-color: #e2e8f0;
--text-color: #334155;
--text-muted: #64748b;
--success-color: #10b981;
--warning-color: #f59e0b;
--error-color: #ef4444;
--info-color: #3b82f6;
}
/* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
line-height: 1.6;
color: #333;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
/* Header */
.header {
text-align: center;
background: rgba(255, 255, 255, 0.95);
padding: 2rem;
border-radius: 15px;
margin-bottom: 2rem;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
}
.header h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.header p {
font-size: 1.1rem;
color: #666;
}
/* Submit Section */
.submit-section {
background: rgba(255, 255, 255, 0.95);
padding: 2rem;
border-radius: 15px;
margin-bottom: 2rem;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
}
.submit-section h2 {
margin-bottom: 1.5rem;
color: #333;
}
/* Input Mode Selection */
.input-mode-selection {
margin-bottom: 2rem;
}
.input-mode-tabs {
display: flex;
gap: 4px;
margin-bottom: 1.5rem;
background: rgba(0, 0, 0, 0.05);
padding: 4px;
border-radius: 12px;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.input-mode-tab {
flex: 1;
padding: 12px 20px;
border: none;
border-radius: 8px;
background: transparent;
color: #64748b;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
font-size: 0.95rem;
text-align: center;
position: relative;
overflow: hidden;
}
.input-mode-tab:hover {
background: rgba(255, 255, 255, 0.7);
color: #334155;
transform: none;
}
.input-mode-tab.active {
background: white;
color: var(--primary-color);
box-shadow:
0 2px 8px rgba(0, 0, 0, 0.1),
0 1px 3px rgba(0, 0, 0, 0.06);
font-weight: 700;
}
.input-mode-tab.active:hover {
background: white;
color: var(--primary-color);
}
.input-mode-section {
display: none;
}
.input-mode-section.active {
display: block;
}
/* YouTube URL specific styles */
.url-input-section {
margin-bottom: 1.5rem;
}
.cookies-section {
margin-top: 1.5rem;
padding: 1.5rem;
background: rgba(255, 248, 220, 0.1);
border: 1px solid rgba(255, 193, 7, 0.3);
border-radius: 12px;
}
.cookies-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.cookies-header h4 {
margin: 0;
color: var(--primary-color);
font-size: 1.1rem;
}
.cookies-help {
margin-top: 1rem;
}
.cookies-explanation {
line-height: 1.6;
}
.cookies-explanation p {
margin-bottom: 1rem;
}
.cookies-explanation ol {
margin-left: 1.5rem;
margin-bottom: 1rem;
}
.cookies-explanation li {
margin-bottom: 0.5rem;
}
.cookies-privacy {
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid rgba(255, 193, 7, 0.3);
}
#youtube-cookies {
font-family: 'Courier New', monospace;
font-size: 0.9rem;
min-height: 80px;
resize: vertical;
}
.job-form {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
/* Primary Form Fields */
.primary-fields {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.name-fields-row {
display: grid;
grid-template-columns: 1fr 1fr auto;
gap: 1rem;
align-items: end;
}
.example-actions {
display: flex;
align-items: end;
padding-bottom: 0.5rem;
}
/* Styles Section */
.styles-section {
background: #f8f9fa;
border-radius: 8px;
padding: 1.5rem;
border: 1px solid #e9ecef;
}
.styles-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0;
}
.styles-info h3 {
margin: 0 0 0.25rem 0;
color: #495057;
font-size: 1.1rem;
}
.styles-info p {
margin: 0;
color: #6c757d;
font-size: 0.9rem;
}
.custom-styles-section {
margin-top: 1.5rem;
padding-top: 1.5rem;
border-top: 1px solid #dee2e6;
}
.custom-styles-section .file-upload {
margin-bottom: 1.5rem;
}
.custom-styles-section .file-upload:last-child {
margin-bottom: 0;
}
.file-upload {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.file-upload input[type="file"] {
padding: 0.75rem;
border: 2px dashed #667eea;
border-radius: 8px;
background: #f8f9ff;
transition: all 0.3s ease;
}
.file-upload input[type="file"]:hover {
border-color: #764ba2;
background: #f0f2ff;
}
.styles-quick-actions {
margin-top: 0.5rem;
}
.btn-link {
background: none;
border: none;
color: #667eea;
text-decoration: none;
cursor: pointer;
font-size: 0.9rem;
padding: 0.25rem 0.5rem;
border-radius: 4px;
transition: all 0.2s ease;
}
.btn-link:hover {
color: #764ba2;
background: rgba(102, 126, 234, 0.1);
}
.btn-link:focus {
outline: 2px solid #667eea;
outline-offset: 2px;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
color: #333;
}
.form-control {
width: 100%;
padding: 0.75rem;
border: 2px solid #ddd;
border-radius: 6px;
font-size: 1rem;
transition: border-color 0.3s ease;
}
.form-control:focus {
outline: none;
border-color: #007bff;
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
.form-actions {
margin-top: 0.5rem;
}
.btn {
padding: 0.5rem 1rem;
border: none;
border-radius: 4px;
font-size: 0.9rem;
cursor: pointer;
transition: background-color 0.3s ease;
text-decoration: none;
display: inline-block;
}
.btn-secondary {
background-color: #6c757d;
color: white;
}
.btn-secondary:hover {
background-color: #5a6268;
}
.help-text {
color: #666;
font-size: 0.85rem;
margin-top: 0.25rem;
line-height: 1.4;
}
.submit-btn {
padding: 1rem 2rem;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
border-radius: 8px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s ease;
}
.submit-btn:hover {
transform: translateY(-2px);
}
.submit-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
/* Enhanced disabled state for YouTube mode when waiting for metadata */
.youtube-url-mode.active .submit-btn:disabled {
background: linear-gradient(135deg, #adb5bd 0%, #6c757d 100%);
color: #fff;
opacity: 0.8;
position: relative;
overflow: hidden;
}
.youtube-url-mode.active .submit-btn:disabled::before {
content: '⏳ Waiting for metadata extraction...';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 0.9rem;
white-space: nowrap;
z-index: 1;
}
.example-btn {
padding: 0.75rem 1rem;
background: rgba(102, 126, 234, 0.1);
color: #667eea;
border: 2px solid #667eea;
border-radius: 8px;
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
text-align: center;
line-height: 1.3;
min-width: 120px;
}
.example-btn:hover {
background: rgba(102, 126, 234, 0.2);
transform: translateY(-1px);
}
.example-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
.example-btn small {
font-size: 0.7rem;
opacity: 0.8;
}
/* Statistics Section */
.stats-section {
margin-bottom: 2rem;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
}
.stat-card {
background: rgba(255, 255, 255, 0.95);
padding: 1.5rem;
border-radius: 10px;
text-align: center;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
transition: transform 0.2s ease;
}
.stat-card:hover {
transform: translateY(-2px);
}
.stat-number {
font-size: 2rem;
font-weight: bold;
color: #667eea;
margin-bottom: 0.5rem;
}
.stat-label {
color: #666;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Jobs Section */
.jobs-section {
background: rgba(255, 255, 255, 0.95);
padding: 2rem;
border-radius: 15px;
margin-bottom: 2rem;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
}
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}
.section-header h2 {
color: #333;
}
.auto-refresh-control {
display: flex;
align-items: center;
gap: 10px;
}
.auto-refresh-control label {
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
padding: 5px 10px;
border-radius: 4px;
transition: background-color 0.2s;
}
.auto-refresh-control label:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.auto-refresh-control label.auto-refresh-active {
background-color: rgba(79, 70, 229, 0.2);
border: 1px solid rgba(79, 70, 229, 0.3);
}
.auto-refresh-control label.auto-refresh-active::after {
content: "●";
color: #4F46E5;
font-size: 8px;
margin-left: 2px;
}
/* Job Items */
.jobs-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
.job {
background: var(--surface-color);
border: 1px solid var(--border-color);
border-radius: 12px;
margin-bottom: 1rem;
overflow: hidden;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.job:hover {
border-color: var(--primary-color);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
transform: translateY(-1px);
}
.job-row {
display: flex;
align-items: stretch;
}
.job-main-info {
flex: 1;
min-width: 0;
padding: 1rem;
}
.job-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1rem;
gap: 1rem;
}
.job-title-section {
flex: 1;
min-width: 0;
}
.job-header-line {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 0.5rem;
}
.job-id {
font-size: 1.1rem;
font-weight: 400;
color: var(--text-primary);
}
.job-status {
display: flex;
align-items: center;
}
.job-track-info,
.job-id-info {
margin-top: 0.25rem;
}
.track-name {
font-size: 1.1rem;
font-weight: 600;
color: var(--text-primary);
}
.job-id {
color: var(--text-secondary);
font-size: 0.95rem;
}
.job-timing-section {
display: flex;
flex-direction: column;
gap: 0.25rem;
text-align: right;
flex-shrink: 0;
min-width: 140px;
}
.job-submitted,
.job-duration {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0.5rem;
font-size: 0.875rem;
}
.timing-label {
color: var(--text-muted);
font-weight: 500;
min-width: 70px;
}
.timing-value {
color: var(--text-primary);
font-weight: 600;
font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
}
.job-timestamp {
font-size: 0.75rem;
color: #666;
}
.status-badge {
padding: 0.2rem 0.6rem;
border-radius: 12px;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
white-space: nowrap;
}
.status-queued { background: #e3f2fd; color: #1976d2; }
.status-processing_audio { background: #fff3e0; color: #f57c00; }
.status-transcribing { background: #f3e5f5; color: #7b1fa2; }
.status-awaiting_review { background: #e8f5e8; color: #388e3c; }
.status-rendering { background: #fce4ec; color: #c2185b; }
.status-complete { background: #e8f5e8; color: #2e7d32; }
.status-error { background: #ffebee; color: #d32f2f; }
.job-actions {
padding: 1rem;
border-left: 1px solid var(--border-color);
background: rgba(255, 255, 255, 0.5);
display: flex;
flex-direction: column;
gap: 0.5rem;
width: 30%;
min-width: 200px;
flex-shrink: 0;
}
.job-actions .btn {
padding: 0.4rem 0.6rem;
font-size: 0.75rem;
white-space: nowrap;
}
.log-entry {
margin-bottom: 0.25rem;
padding: 0.25rem;
border-radius: 3px;
}
.log-timestamp {
color: #666;
margin-right: 0.5rem;
}
.log-level {
font-weight: bold;
margin-right: 0.5rem;
min-width: 60px;
display: inline-block;
}
.log-info .log-level { color: #0066cc; }
.log-success .log-level { color: #28a745; }
.log-warning .log-level { color: #ffc107; }
.log-error .log-level { color: #dc3545; }
.log-debug .log-level { color: #6c757d; }
/* Buttons */
.btn-primary { background: #007bff; color: white; }
.btn-success { background: #28a745; color: white; }
.btn-danger { background: #dc3545; color: white; }
.btn-warning { background: #ffc107; color: #212529; }
.btn-info { background: #17a2b8; color: white; }
.btn:hover {
transform: translateY(-1px);
filter: brightness(110%);
}
/* Admin Panel (Floating) */
.admin-panel {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
}
.admin-toggle {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 1rem;
border-radius: 50px;
font-size: 1rem;
cursor: pointer;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
}
.admin-toggle:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.admin-content {
position: absolute;
bottom: 80px;
right: 0;
background: white;
border-radius: 10px;
padding: 1.5rem;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
min-width: 250px;
transform: translateY(20px) scale(0.95);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.admin-panel.show .admin-content {
transform: translateY(0) scale(1);
opacity: 1;
visibility: visible;
}
.admin-content h3 {
margin-bottom: 1rem;
color: #333;
}
.admin-buttons {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
/* Log Tail Modal */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.7);
z-index: 2000;
align-items: center;
justify-content: center;
padding: 20px;
}
.modal-content {
background: white;
border-radius: 10px;
width: calc(100vw - 40px);
height: calc(100vh - 40px);
max-width: 1400px;
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.modal-header {
padding: 1rem;
border-bottom: 1px solid #e1e5e9;
background: #f8f9fa;
display: flex;
justify-content: space-between;
align-items: center;
flex-shrink: 0;
}
.modal-title {
margin: 0;
font-size: 1.1rem;
color: #333;
}
.modal-controls {
display: flex;
align-items: center;
gap: 0.5rem;
}
.modal-control-btn {
background: #667eea;
color: white;
border: none;
padding: 0.4rem 0.8rem;
border-radius: 4px;
font-size: 0.8rem;
cursor: pointer;
transition: all 0.2s ease;
}
.modal-control-btn:hover {
background: #5a67d8;
transform: translateY(-1px);
}
.modal-control-btn.secondary {
background: #6c757d;
}
.modal-control-btn.secondary:hover {
background: #5a6268;
}
.modal-control-btn.toggle-active {
background: #28a745;
}
.modal-control-btn.toggle-active:hover {
background: #218838;
}
/* Auto-refresh toggle button - paused state */
#log-auto-refresh-btn:not(.toggle-active) {
background: #ffc107;
color: #212529;
}
#log-auto-refresh-btn:not(.toggle-active):hover {
background: #e0a800;
}
.modal-close {
background: #dc3545;
color: white;
border: none;
font-size: 1rem;
cursor: pointer;
padding: 0.4rem 0.8rem;
border-radius: 4px;
transition: all 0.2s ease;
}
.modal-close:hover {
background: #c82333;
transform: translateY(-1px);
}
.modal-body {
flex: 1;
overflow: hidden;
display: flex;
flex-direction: column;
}
.modal-logs {
flex: 1;
overflow-y: auto;
padding: 1rem;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 0.8rem;
background: #f8f9fa;
line-height: 1.4;
user-select: text;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
}
/* Improve text selection appearance */
.modal-logs::selection {
background: #667eea;
color: white;
}
.modal-logs *::selection {
background: #667eea;
color: white;
}
/* Font size classes for adjustable text */
.modal-logs.font-xs { font-size: 0.6rem; }
.modal-logs.font-sm { font-size: 0.7rem; }
.modal-logs.font-md { font-size: 0.8rem; }
.modal-logs.font-lg { font-size: 0.9rem; }
.modal-logs.font-xl { font-size: 1.0rem; }
.modal-logs.font-xxl { font-size: 1.1rem; }
/* Log Filter Bar (Server-side Filtering) */
.log-filter-bar {
padding: 1rem;
background: #f1f3f4;
border-bottom: 1px solid #e1e5e9;
flex-shrink: 0;
}
.filter-row {
display: flex;
gap: 1rem;
align-items: center;
flex-wrap: wrap;
}
.filter-group {
display: flex;
align-items: center;
gap: 0.5rem;
min-width: 0;
}
.filter-label {
font-size: 0.9rem;
font-weight: 600;
color: #555;
white-space: nowrap;
}
.filter-input {
padding: 0.4rem 0.6rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 0.85rem;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
min-width: 150px;
background: white;
}
.filter-input:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}
.filter-level-select {
padding: 0.4rem 0.6rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 0.85rem;
background: white;
min-width: 120px;
}
.filter-level-select:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}
.filter-limit-input {
padding: 0.4rem 0.6rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 0.85rem;
width: 80px;
background: white;
}
.filter-limit-input:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}
.limit-presets {
display: flex;
gap: 0.25rem;
}
.limit-preset-btn {
padding: 0.2rem 0.4rem;
border: 1px solid #ddd;
border-radius: 3px;
font-size: 0.75rem;
background: white;
cursor: pointer;
transition: all 0.2s ease;
}
.limit-preset-btn:hover {
background: #f8f9fa;
border-color: #667eea;
}
.filter-actions {
display: flex;
gap: 0.5rem;
align-items: center;
margin-left: auto;
}
.filter-regex-btn {
padding: 0.4rem 0.6rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 0.75rem;
background: white;
cursor: pointer;
transition: all 0.2s ease;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}
.filter-regex-btn:hover {
background: #f8f9fa;
border-color: #667eea;
}
.filter-regex-btn.active {
background: #667eea;
color: white;
border-color: #667eea;
font-weight: bold;
}
.filter-refresh-btn {
padding: 0.4rem 0.6rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 0.85rem;
background: white;
cursor: pointer;
transition: all 0.2s ease;
}
.filter-refresh-btn:hover {
background: #f8f9fa;
border-color: #28a745;
}
.filter-clear-btn {
padding: 0.4rem 0.6rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 0.85rem;
background: white;
cursor: pointer;
transition: all 0.2s ease;
}
.filter-clear-btn:hover {
background: #f8f9fa;
border-color: #dc3545;
}
.filter-stats-row {
margin-top: 0.75rem;
padding-top: 0.75rem;
border-top: 1px solid #e1e5e9;
}
.filter-stats {
font-size: 0.85rem;
color: #666;
font-style: italic;
}
/* Log entry styles */
.log-entry {
display: flex;
gap: 0.75rem;
padding: 0.25rem 0;
border-bottom: 1px solid #eee;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}
.log-timestamp {
color: #888;
font-size: 0.8em;
white-space: nowrap;
min-width: 70px;
}
.log-level {
font-weight: bold;
min-width: 60px;
white-space: nowrap;
}
.log-level.debug { color: #6c757d; }
.log-level.info { color: #007bff; }
.log-level.warning { color: #ffc107; }
.log-level.error { color: #dc3545; }
.log-level.critical { color: #721c24; }
.log-message {
flex: 1;
word-wrap: break-word;
line-height: 1.3;
}
.log-entry.log-debug { background: rgba(108, 117, 125, 0.05); }
.log-entry.log-info { background: rgba(0, 123, 255, 0.05); }
.log-entry.log-warning { background: rgba(255, 193, 7, 0.1); }
.log-entry.log-error { background: rgba(220, 53, 69, 0.1); }
.log-entry.log-critical { background: rgba(114, 28, 36, 0.15); }
.no-logs, .loading, .error {
text-align: center;
padding: 2rem;
color: #666;
font-style: italic;
}
.error {
color: #dc3545;
}
/* Responsive log filter bar */
@media (max-width: 768px) {
.filter-row {
flex-direction: column;
gap: 0.75rem;
align-items: stretch;
}
.filter-group {
flex-direction: column;
gap: 0.25rem;
align-items: stretch;
}
.filter-input,
.filter-level-select {
min-width: auto;
width: 100%;
}
.filter-actions {
margin-left: 0;
justify-content: center;
}
.limit-presets {
justify-content: center;
}
}
/* Notifications */
.notifications {
position: fixed;
top: 20px;
right: 20px;
z-index: 3000;
pointer-events: none; /* Allow clicks through container */
}
.notification {
background: white;
border-radius: 8px;
padding: 1rem;
margin-bottom: 0.5rem;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
max-width: 350px;
min-width: 300px;
animation: slideIn 0.3s ease;
pointer-events: auto; /* Re-enable clicks on notification */
font-size: 0.9rem;
line-height: 1.4;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.notification-success {
border-left: 4px solid #28a745 !important;
background: #d4edda !important;
color: #155724 !important;
}
.notification-info {
border-left: 4px solid #17a2b8;
background: #d1ecf1;
color: #0c5460;
}
.notification-error {
border-left: 4px solid #dc3545;
background: #f8d7da;
color: #721c24;
}
@keyframes slideIn {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes highlight-flash {
0% {
background-color: var(--surface-color);
transform: scale(1);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
25% {
background-color: rgba(102, 126, 234, 0.1);
transform: scale(1.02);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}
50% {
background-color: rgba(102, 126, 234, 0.15);
transform: scale(1.02);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
75% {
background-color: rgba(102, 126, 234, 0.1);
transform: scale(1.01);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}
100% {
background-color: var(--surface-color);
transform: scale(1);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
}
/* Review Instructions */
.review-instructions {
background: #e6f3ff;
border: 1px solid #4da6ff;
border-radius: 4px;
padding: 10px;
margin-top: 10px;
color: #0066cc;
font-weight: 500;
}
.review-instructions strong {
color: #003d82;
}
/* Error Details */
.error-details {
background: #ffe6e6;
border: 1px solid #ff9999;
border-radius: 4px;
padding: 10px;
margin-top: 10px;
color: #cc0000;
white-space: pre-wrap;
}
/* Loading and Empty States */
.loading {
text-align: center;
padding: 2rem;
color: #666;
}
.no-jobs {
text-align: center;
padding: 2rem;
color: #666;
font-style: italic;
}
.no-logs {
text-align: center;
padding: 1rem;
color: #666;
font-style: italic;
}
.logs-loading {
text-align: center;
padding: 1rem;
color: #666;
font-style: italic;
}
/* Footer */
.footer {
text-align: center;
padding: 2rem;
color: rgba(255, 255, 255, 0.8);
font-size: 0.9rem;
}
.footer a {
color: rgba(255, 255, 255, 0.9);
text-decoration: none;
}
.footer a:hover {
text-decoration: underline;
}
/* Responsive Design */
@media (max-width: 768px) {
.container {
padding: 10px;
}
.modal {
padding: 10px;
}
.header h1 {
font-size: 2rem;
}
.form-row {
grid-template-columns: 1fr;
}
.name-fields-row {
grid-template-columns: 1fr;
gap: 1rem;
}
.example-actions {
justify-content: center;
padding-bottom: 0;
margin-top: 1rem;
}
.styles-header {
flex-direction: column;
gap: 1rem;
align-items: stretch;
}
.styles-info {
text-align: center;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
.job-row {
flex-direction: column;
align-items: stretch;
gap: 0.75rem;
}
.job-actions {
flex-wrap: wrap;
justify-content: stretch;
gap: 0.5rem;
margin-top: 0.5rem;
}
.job-actions .btn {
flex: 1;
min-width: 0;
font-size: 0.8rem;
padding: 0.5rem 0.75rem;
}
.modal-content {
width: calc(100vw - 20px);
height: calc(100vh - 20px);
}
.modal-header {
flex-direction: column;
gap: 1rem;
padding: 1rem;
}
.modal-controls {
width: 100%;
justify-content: center;
flex-wrap: wrap;
}
.modal-control-btn,
.modal-close {
padding: 0.5rem;
font-size: 0.9rem;
}
.admin-content {
right: -50px;
min-width: 200px;
}
/* Job header responsive styles */
.job-header {
flex-direction: column;
gap: 0.75rem;
}
.job-timing-section {
flex-direction: row;
justify-content: space-between;
text-align: left;
min-width: auto;
width: 100%;
}
.timing-label {
min-width: auto;
}
.multi-stage-progress-bar {
height: 40px;
}
.segment-content {
padding: 0.125rem 0.25rem;
font-size: 0.7rem;
}
.segment-label {
font-size: 0.6rem;
}
.segment-duration {
font-size: 0.55rem;
}
/* Notifications on mobile */
.notifications {
top: 10px;
right: 10px;
left: 10px;
right: 10px;
}
.notification {
max-width: none;
min-width: auto;
margin-bottom: 0.5rem;
}
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Console log styles for readability */
.console-log {
font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
white-space: pre-wrap;
word-break: break-word;
font-size: 12px;
line-height: 1.4;
}
/* Cache Stats Modal Styles */
.cache-modal-content {
max-width: 800px;
max-height: 90vh;
overflow-y: auto;
}
.cache-stats-content {
display: flex;
flex-direction: column;
gap: 20px;
}
.cache-loading {
text-align: center;
padding: 20px;
color: var(--text-muted);
font-style: italic;
}
/* Cache Overview */
.cache-overview {
background: var(--bg-secondary);
border-radius: 8px;
padding: 16px;
}
.cache-summary {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px;
margin-top: 12px;
}
.cache-stat {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 12px;
background: var(--bg-card);
border-radius: 6px;
border: 1px solid var(--border);
}
.cache-stat-label {
font-weight: 500;
color: var(--text-secondary);
}
.cache-stat-value {
font-weight: 600;
color: var(--primary);
}
/* Cache Directories */
.cache-directories {
background: var(--bg-secondary);
border-radius: 8px;
padding: 16px;
}
.cache-dirs-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 12px;
margin-top: 12px;
}
.cache-dir-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 6px;
padding: 12px;
text-align: center;
transition: all 0.2s ease;
}
.cache-dir-card:hover {
border-color: var(--primary);
transform: translateY(-1px);
}
.cache-dir-header {
font-weight: 600;
color: var(--text-primary);
margin-bottom: 8px;
font-size: 14px;
}
.cache-dir-stats {
display: flex;
flex-direction: column;
gap: 4px;
}
.cache-dir-stats > div {
color: var(--text-secondary);
font-size: 12px;
}
.cache-dir-stats > div:first-child {
font-weight: 500;
color: var(--primary);
}
/* AudioShake Cache */
.audioshake-cache {
background: var(--bg-secondary);
border-radius: 8px;
padding: 16px;
}
.audioshake-cache-list {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 12px;
}
.audioshake-cache-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 6px;
transition: border-color 0.2s ease;
}
.audioshake-cache-item:hover {
border-color: var(--primary);
}
.cache-item-info {
display: flex;
flex-direction: column;
gap: 4px;
flex: 1;
}
.cache-item-hash {
font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
font-size: 12px;
color: var(--text-primary);
font-weight: 600;
}
.cache-item-timestamp {
font-size: 11px;
color: var(--text-secondary);
}
.cache-item-size {
font-size: 11px;
color: var(--text-muted);
}
.no-cache {
text-align: center;
color: var(--text-muted);
font-style: italic;
padding: 20px;
margin-top: 12px;
}
/* Cache Actions */
.cache-actions {
background: var(--bg-secondary);
border-radius: 8px;
padding: 16px;
}
.cache-actions-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px;
margin-top: 12px;
}
.cache-actions-grid .btn {
padding: 12px 16px;
font-size: 14px;
text-align: center;
}
/* Small button variant for cache items */
.btn-sm {
padding: 6px 12px;
font-size: 12px;
min-width: auto;
}
/* Responsive adjustments for cache modal */
@media (max-width: 768px) {
.cache-modal-content {
max-width: 95vw;
margin: 10px;
}
.cache-summary {
grid-template-columns: 1fr;
}
.cache-dirs-grid {
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.cache-actions-grid {
grid-template-columns: 1fr;
}
.audioshake-cache-item {
flex-direction: column;
align-items: stretch;
gap: 8px;
}
.cache-item-info {
text-align: center;
}
}
/* Files Modal Styles */
.files-modal-content {
max-width: 90vw;
width: 1000px;
max-height: 90vh;
display: flex;
flex-direction: column;
}
.files-modal-content .modal-body {
flex: 1;
overflow-y: auto;
padding: 1.5rem;
}
.files-summary {
background: var(--surface-color);
border-radius: 8px;
padding: 1rem;
margin-bottom: 1.5rem;
border: 1px solid var(--border-color);
}
.files-stats {
display: flex;
gap: 2rem;
flex-wrap: wrap;
}
.files-stat {
color: var(--text-muted);
}
.files-stat strong {
color: var(--text-primary);
}
/* File Categories */
.files-categories {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.file-category {
background: var(--surface-color);
border-radius: 12px;
border: 1px solid var(--border-color);
overflow: hidden;
}
.file-category-header {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
padding: 1rem 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.file-category-header h4 {
margin: 0;
font-weight: 600;
}
.file-category-count {
background: rgba(255, 255, 255, 0.2);
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.875rem;
font-weight: 500;
}
.file-category-description {
padding: 1rem 1.5rem 0.5rem;
margin: 0;
color: var(--text-muted);
font-size: 0.875rem;
}
.file-category-files {
padding: 0.5rem 1.5rem 1.5rem;
}
/* File Items */
.file-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem;
border: 1px solid var(--border-color);
border-radius: 8px;
margin-bottom: 0.5rem;
background: var(--background-color);
transition: all 0.2s ease;
}
.file-item:hover {
background: var(--hover-color);
border-color: var(--primary-color);
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.file-item:last-child {
margin-bottom: 0;
}
.file-info {
flex: 1;
min-width: 0;
}
.file-name {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.25rem;
}
.file-icon {
font-size: 1.25rem;
flex-shrink: 0;
}
.file-name-text {
font-weight: 500;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.file-details {
display: flex;
gap: 1rem;
font-size: 0.875rem;
color: var(--text-muted);
}
.file-size {
font-weight: 500;
}
.file-actions {
display: flex;
gap: 0.5rem;
flex-shrink: 0;
}
.file-actions .btn {
font-size: 0.875rem;
padding: 0.375rem 0.75rem;
}
/* Preview Modal Styles */
.video-preview-content,
.audio-preview-content {
max-width: 90vw;
width: 800px;
max-height: 90vh;
}
.preview-video {
width: 100%;
max-height: 60vh;
border-radius: 8px;
background: #000;
}
.preview-audio {
width: 100%;
border-radius: 8px;
}
.preview-actions {
text-align: center;
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid var(--border-color);
}
/* Button Size Variants */
.btn-sm {
padding: 0.375rem 0.75rem;
font-size: 0.875rem;
border-radius: 4px;
}
/* Modal Control Button Variants */
.modal-control-btn.primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
font-weight: 600;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.modal-control-btn.primary:hover {
background: linear-gradient(135deg, #5a67d8 0%, #6a4193 100%);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
/* No Files State */
.no-files {
text-align: center;
color: var(--text-muted);
font-style: italic;
padding: 2rem;
}
/* Responsive Design for Files Modal */
@media (max-width: 768px) {
.files-modal-content {
width: 95vw;
margin: 1rem;
}
.files-stats {
flex-direction: column;
gap: 0.5rem;
}
.file-item {
flex-direction: column;
align-items: stretch;
gap: 0.75rem;
}
.file-actions {
justify-content: center;
}
.file-details {
justify-content: center;
}
.video-preview-content,
.audio-preview-content {
width: 95vw;
margin: 1rem;
}
.preview-video {
max-height: 40vh;
}
}
@media (max-width: 480px) {
.file-category-header {
flex-direction: column;
gap: 0.5rem;
text-align: center;
}
.file-actions {
flex-direction: column;
}
.file-actions .btn {
text-align: center;
}
}
/* Timeline Styles */
.timeline-phases {
display: flex;
gap: 0.375rem;
flex-wrap: wrap;
justify-content: center;
}
.timeline-phase {
color: white;
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.7rem;
font-weight: 600;
white-space: nowrap;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Timeline Modal Styles */
.timeline-modal-content {
max-width: 95vw;
width: 1200px;
max-height: 90vh;
display: flex;
flex-direction: column;
}
.timeline-modal-content .modal-body {
flex: 1;
overflow-y: auto;
padding: 1.5rem;
}
/* Timeline Summary Cards */
.timeline-summary {
margin-bottom: 1.5rem;
}
.timeline-summary-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 1rem;
margin-bottom: 1rem;
}
.timeline-card {
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
border: 1px solid #e1e5e9;
border-radius: 10px;
padding: 1rem;
text-align: center;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.timeline-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.timeline-card-value {
font-size: 1.25rem;
font-weight: 700;
color: #667eea;
margin-bottom: 0.25rem;
font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
}
.timeline-card-label {
font-size: 0.8rem;
color: #6c757d;
font-weight: 500;
}
/* Timeline Visualization */
.timeline-visualization {
margin-bottom: 1.5rem;
}
.timeline-visualization h4 {
margin-bottom: 0.75rem;
color: #333;
font-size: 1.1rem;
font-weight: 600;
}
.timeline-chart {
display: flex;
height: 50px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 1rem;
border: 1px solid rgba(0, 0, 0, 0.05);
}
.timeline-phase-bar {
position: relative;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 600;
font-size: 0.75rem;
transition: all 0.3s ease;
min-width: 35px;
cursor: pointer;
}
.timeline-phase-bar:hover {
opacity: 0.85;
transform: scaleY(1.05);
z-index: 1;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.timeline-phase-bar.active {
animation: pulse 2s infinite;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.75; }
}
.timeline-phase-info {
text-align: center;
padding: 0.2rem 0.15rem;
width: 100%;
}
.timeline-phase-name {
font-weight: 700;
margin-bottom: 0.1rem;
font-size: 0.65rem;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.timeline-phase-duration {
font-size: 0.55rem;
opacity: 0.9;
font-weight: 500;
white-space: nowrap;
}
/* Timeline Details Table */
.timeline-details {
margin-bottom: 1.5rem;
}
.timeline-details h4 {
margin-bottom: 0.75rem;
color: #333;
font-size: 1.1rem;
font-weight: 600;
}
.timeline-table {
background: white;
border-radius: 10px;
overflow: hidden;
border: 1px solid #e1e5e9;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.timeline-table-header {
display: grid;
grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
gap: 1rem;
padding: 0.875rem 1rem;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
font-weight: 600;
font-size: 0.8rem;
}
.timeline-table-row {
display: grid;
grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
gap: 1rem;
padding: 0.875rem 1rem;
border-bottom: 1px solid #f1f3f4;
align-items: center;
transition: background-color 0.2s ease;
font-size: 0.875rem;
}
.timeline-table-row:hover {
background: #f8f9fa;
}
.timeline-table-row.active {
background: linear-gradient(90deg, rgba(40, 167, 69, 0.08), rgba(40, 167, 69, 0.03));
border-left: 3px solid #28a745;
padding-left: calc(1rem - 3px);
}
.timeline-table-row:last-child {
border-bottom: none;
}
.timeline-phase-cell {
display: flex;
align-items: center;
gap: 0.5rem;
font-weight: 500;
color: #333;
}
.status-indicator {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
margin-right: 0.5rem;
}
/* Responsive Design for Timeline */
@media (max-width: 768px) {
.timeline-modal-content {
width: 95vw;
margin: 1rem;
}
.timeline-summary-cards {
grid-template-columns: repeat(2, 1fr);
}
.timeline-chart {
height: 80px;
flex-direction: column;
}
.timeline-phase-bar {
height: 20px;
width: 100% !important;
margin-bottom: 2px;
}
.timeline-table-header,
.timeline-table-row {
grid-template-columns: 1fr;
gap: 0.5rem;
}
.timeline-table-header > div,
.timeline-table-row > div {
text-align: center;
padding: 0.25rem 0;
}
.timeline-table-header > div:first-child,
.timeline-table-row > div:first-child {
font-weight: 600;
border-bottom: 1px solid var(--border-color);
padding-bottom: 0.5rem;
margin-bottom: 0.5rem;
}
}
@media (max-width: 480px) {
.timeline-summary-cards {
grid-template-columns: 1fr;
}
.timeline-phases {
flex-direction: column;
}
.timeline-phase {
text-align: center;
}
.timeline-card-value {
font-size: 1.25rem;
}
}
/* Multi-Stage Progress Bar - Fixed Layout */
.job-progress-enhanced {
margin-bottom: 1rem;
width: 100%;
}
.multi-stage-progress-bar {
display: flex;
width: 100%;
height: 40px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
border: 1px solid rgba(0, 0, 0, 0.08);
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.multi-stage-progress-bar.clickable-progress-bar {
cursor: pointer;
transition: all 0.2s ease;
}
.multi-stage-progress-bar.clickable-progress-bar:hover {
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
border-color: #667eea;
}
.progress-segment {
position: relative;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.25s ease;
cursor: pointer;
min-width: 30px;
overflow: hidden;
border-right: 1px solid rgba(255, 255, 255, 0.3);
flex-shrink: 0;
}
.progress-segment:last-child {
border-right: none;
}
.progress-segment:hover {
transform: scaleY(1.08);
z-index: 2;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.progress-segment.active {
position: relative;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.progress-segment.active::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg,
transparent 25%,
rgba(255, 255, 255, 0.1) 25%,
rgba(255, 255, 255, 0.1) 50%,
transparent 50%,
transparent 75%,
rgba(255, 255, 255, 0.1) 75%);
background-size: 8px 8px;
animation: progressStripes 1s linear infinite;
}
.progress-segment.completed {
position: relative;
opacity: 0.9;
}
.progress-segment.completed::after {
content: '✓';
position: absolute;
top: 2px;
right: 4px;
font-size: 10px;
color: rgba(255, 255, 255, 0.9);
font-weight: bold;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.progress-segment.upcoming {
opacity: 0.5;
background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%) !important;
color: #5f6368;
}
.progress-segment.next {
opacity: 0.75;
box-shadow: inset 0 0 0 2px rgba(66, 133, 244, 0.3);
animation: nextPhaseGlow 2s ease-in-out infinite;
}
@keyframes progressStripes {
0% { background-position: 0 0; }
100% { background-position: 8px 0; }
}
@keyframes nextPhaseGlow {
0%, 100% {
box-shadow: inset 0 0 0 1px rgba(66, 133, 244, 0.2);
}
50% {
box-shadow: inset 0 0 0 2px rgba(66, 133, 244, 0.4);
}
}
.segment-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 0.25rem 0.5rem;
width: 100%;
height: 100%;
color: white;
font-size: 0.75rem;
font-weight: 600;
line-height: 1.1;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.progress-segment.upcoming .segment-content {
color: #5f6368;
text-shadow: none;
}
.segment-label {
font-weight: 700;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
letter-spacing: 0.25px;
text-transform: uppercase;
font-size: 0.65rem;
}
.segment-duration {
font-size: 0.6rem;
opacity: 0.9;
font-weight: 500;
white-space: nowrap;
margin-top: 1px;
}
/* Enhanced Status Badge */
.job-status .status-badge {
font-size: 0.8rem;
padding: 0.25rem 0.6rem;
border-radius: 6px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
/* Progress Bar Responsive Behavior */
@media (max-width: 768px) {
.job-header {
flex-direction: column;
gap: 0.75rem;
}
.job-timing-section {
flex-direction: row;
justify-content: space-between;
text-align: left;
min-width: auto;
width: 100%;
}
.timing-label {
min-width: auto;
}
.multi-stage-progress-bar {
height: 40px;
}
.segment-content {
padding: 0.125rem 0.25rem;
font-size: 0.7rem;
}
.segment-label {
font-size: 0.6rem;
}
.segment-duration {
font-size: 0.55rem;
}
.progress-segment {
min-width: 25px;
}
}
@media (max-width: 480px) {
.job-header-line {
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}
.job-timing-section {
flex-direction: column;
gap: 0.25rem;
text-align: left;
}
.multi-stage-progress-bar {
height: 40px;
}
.segment-content {
padding: 0.125rem 0.125rem;
font-size: 0.65rem;
}
.segment-label {
font-size: 0.55rem;
display: none; /* Hide labels on very small screens */
}
.segment-duration {
font-size: 0.5rem;
}
.progress-segment {
min-width: 20px;
}
.progress-segment.completed::after {
font-size: 8px;
top: 1px;
right: 2px;
}
}
/* Mobile Job Layout Enhancement */
@media (max-width: 768px) {
.job-row {
flex-direction: column;
}
.job-actions {
border-left: none;
border-top: 1px solid var(--border-color);
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
min-width: auto;
padding: 0.75rem;
}
.job-main-info {
padding: 0.75rem;
}
}
/* Refined Color Palette */
.progress-segment[style*="rgb(108, 117, 125)"] { /* queued - gray */
background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}
.progress-segment[style*="rgb(0, 123, 255)"] { /* processing - blue */
background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}
.progress-segment[style*="rgb(255, 193, 7)"] { /* awaiting_review - amber */
background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}
.progress-segment[style*="rgb(253, 126, 20)"] { /* reviewing - orange */
background: linear-gradient(135deg, #fd7e14 0%, #dc6500 100%);
}
.progress-segment[style*="rgb(40, 167, 69)"] { /* rendering/complete - green */
background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}
.progress-segment[style*="rgb(220, 53, 69)"] { /* error - red */
background: linear-gradient(135deg, #dc3545 0%, #bd2130 100%);
}
/* Simple Timeline Info for Legacy Jobs */
.simple-timeline-info {
background: var(--surface-color);
border-radius: 8px;
padding: 1.5rem;
margin-top: 1rem;
border: 1px solid var(--border-color);
}
.simple-timeline-info h4 {
color: var(--text-primary);
margin-bottom: 1rem;
font-weight: 600;
}
.simple-timeline-info p {
margin-bottom: 0.5rem;
color: var(--text-secondary);
font-size: 0.9rem;
}
.simple-timeline-info strong {
color: var(--text-primary);
font-weight: 600;
}
.simple-timeline-info em {
color: var(--text-muted);
font-style: italic;
font-size: 0.85rem;
}
/* Authentication Section */
.auth-section {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.auth-container {
background: rgba(255, 255, 255, 0.95);
border-radius: 20px;
padding: 40px;
max-width: 500px;
width: 90%;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
color: #333;
}
.auth-header {
text-align: center;
margin-bottom: 30px;
}
.auth-header h1 {
color: #667eea;
margin-bottom: 10px;
}
.auth-form {
margin-bottom: 30px;
}
.auth-form .form-group {
margin-bottom: 20px;
}
.auth-form label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #555;
}
.auth-form .form-control {
width: 100%;
padding: 12px 16px;
border: 2px solid #e1e5e9;
border-radius: 10px;
font-size: 16px;
transition: border-color 0.3s ease;
}
.auth-form .form-control:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.auth-btn {
width: 100%;
padding: 14px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
border-radius: 10px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.auth-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}
.auth-help {
text-align: center;
font-size: 14px;
color: #666;
}
.auth-help h3 {
color: #667eea;
margin-bottom: 15px;
}
.auth-help ul {
text-align: left;
margin: 15px 0;
padding-left: 20px;
}
.auth-help a {
color: #667eea;
text-decoration: none;
}
.auth-help a:hover {
text-decoration: underline;
}
/* User Status Bar */
.user-status-bar {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 12px 20px;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 0 0 15px 15px;
margin-bottom: 20px;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}
.user-info {
display: flex;
gap: 20px;
align-items: center;
}
.user-type {
font-weight: 600;
padding: 4px 12px;
background: rgba(255, 255, 255, 0.2);
border-radius: 20px;
font-size: 14px;
}
.user-remaining {
font-size: 14px;
opacity: 0.9;
}
.user-remaining.warning {
color: #ffd700;
font-weight: 600;
}
.user-actions {
display: flex;
gap: 10px;
align-items: center;
}
.user-actions .btn {
padding: 6px 12px;
font-size: 14px;
border-radius: 8px;
}
.user-actions .btn-link {
background: transparent;
color: white;
border: 1px solid rgba(255, 255, 255, 0.3);
}
.user-actions .btn-link:hover {
background: rgba(255, 255, 255, 0.1);
}
.user-actions .btn-secondary {
background: rgba(255, 255, 255, 0.2);
color: white;
border: 1px solid rgba(255, 255, 255, 0.3);
}
.user-actions .btn-secondary:hover {
background: rgba(255, 255, 255, 0.3);
}
/* User Info Modal */
.user-info-content {
padding: 20px;
}
.user-info-grid {
display: grid;
gap: 15px;
}
.user-info-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px;
background: #f8f9fa;
border-radius: 8px;
border-left: 4px solid #667eea;
}
.user-info-item label {
font-weight: 600;
color: #555;
margin: 0;
}
.user-info-item span {
color: #333;
}
/* Notification Controls in User Info Modal */
.notification-controls {
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid #e9ecef;
}
.notification-controls h4 {
color: #667eea;
margin-bottom: 15px;
font-size: 1.1rem;
font-weight: 600;
}
.notification-settings {
display: flex;
flex-direction: column;
gap: 15px;
}
.notification-setting {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
background: #f8f9fa;
border-radius: 6px;
border-left: 3px solid #667eea;
}
.notification-setting label {
font-weight: 500;
color: #555;
margin: 0;
}
.notification-actions {
display: flex;
gap: 8px;
align-items: center;
}
.notification-enabled {
color: #28a745;
font-weight: 600;
font-size: 0.9rem;
}
.notification-blocked {
color: #dc3545;
font-weight: 600;
font-size: 0.9rem;
}
.notification-unsupported {
background: #fff3cd;
border: 1px solid #ffeaa7;
border-radius: 6px;
padding: 15px;
text-align: center;
}
.notification-unsupported p {
margin: 5px 0;
color: #856404;
font-size: 0.9rem;
}
.notification-unsupported p:last-child {
margin-bottom: 0;
}
/* Token Management Modal */
.token-modal-content {
max-width: 900px;
width: 90%;
max-height: 90vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
.token-modal-content .modal-body {
flex: 1;
overflow-y: auto;
padding: 0;
}
.token-management {
padding: 20px;
padding-bottom: 0;
}
.token-create-section {
background: #f8f9fa;
padding: 15px;
border-radius: 8px;
margin-bottom: 20px;
border: 1px solid #e9ecef;
flex-shrink: 0;
}
.token-create-section h4 {
color: #667eea;
margin-bottom: 15px;
text-align: center;
}
.form-row {
display: grid;
grid-template-columns: 1fr 2fr 1fr;
gap: 12px;
margin-bottom: 12px;
}
.token-list-section {
flex: 1;
overflow: hidden;
display: flex;
flex-direction: column;
}
.token-list-section h4 {
color: #333;
margin-bottom: 15px;
text-align: center;
flex-shrink: 0;
}
.token-list {
display: grid;
gap: 8px;
padding-bottom: 20px;
overflow-y: auto;
flex: 1;
}
.token-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 15px;
border: 1px solid #e9ecef;
border-radius: 8px;
background: white;
transition: all 0.2s ease;
min-height: auto;
}
.token-item:hover {
border-color: #667eea;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}
.token-item.active {
border-color: #28a745;
background: #f8fff9;
}
.token-item.revoked {
border-color: #dc3545;
background: #fff8f8;
opacity: 0.7;
}
.token-info {
flex: 1;
min-width: 0;
}
.token-header {
display: flex;
gap: 10px;
align-items: center;
margin-bottom: 6px;
flex-wrap: wrap;
}
.token-value {
font-family: 'Courier New', monospace;
background: #f1f3f4;
padding: 3px 6px;
border-radius: 4px;
font-size: 13px;
color: #333;
border: 1px solid #ddd;
flex-shrink: 0;
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.token-type {
background: #667eea;
color: white;
padding: 3px 10px;
border-radius: 16px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
flex-shrink: 0;
}
.token-status {
padding: 3px 6px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
flex-shrink: 0;
}
.token-status.active {
background: #d4edda;
color: #155724;
}
.token-status.revoked {
background: #f8d7da;
color: #721c24;
}
.token-details {
display: flex;
gap: 12px;
font-size: 13px;
color: #666;
margin-bottom: 4px;
flex-wrap: wrap;
}
.token-usage, .token-jobs {
background: #e9ecef;
padding: 2px 6px;
border-radius: 3px;
font-size: 12px;
white-space: nowrap;
}
.token-description {
font-style: italic;
color: #888;
font-size: 12px;
margin-bottom: 2px;
word-break: break-word;
}
.token-last-used {
font-size: 11px;
color: #999;
}
.token-actions {
display: flex;
gap: 8px;
flex-shrink: 0;
align-items: center;
}
.no-tokens {
text-align: center;
color: #666;
font-style: italic;
padding: 30px;
}
.token-loading {
text-align: center;
color: #666;
padding: 30px;
}
/* Token Management Form Styling */
.token-management .form-group {
margin-bottom: 1rem;
}
.token-management .form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
color: #333;
}
.token-management input[type="text"],
.token-management input[type="number"],
.token-management select {
width: 100%;
padding: 0.75rem;
border: 2px solid #ddd;
border-radius: 6px;
font-size: 1rem;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
background: white;
}
.token-management input[type="text"]:focus,
.token-management input[type="number"]:focus,
.token-management select:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.token-management select {
background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
background-repeat: no-repeat;
background-position: right 0.75rem center;
background-size: 0.75rem;
padding-right: 2.5rem;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}
.token-management .btn {
padding: 0.75rem 1.5rem;
border: none;
border-radius: 6px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
}
.token-management .btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.token-management .btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.token-management .btn-danger {
background: #dc3545;
color: white;
}
.token-management .btn-danger:hover {
background: #c82333;
transform: translateY(-1px);
}
/* Form row specific adjustments */
.token-management .form-row .form-group {
margin-bottom: 0;
}
/* Cookie Management Modal Styles */
.cookie-modal-content {
max-width: 800px;
width: 90%;
max-height: 90vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
.cookie-modal-content .modal-body {
flex: 1;
overflow-y: auto;
padding: 0;
}
.cookie-management {
padding: 20px;
display: flex;
flex-direction: column;
gap: 20px;
}
.cookie-status-section {
background: #f8f9fa;
padding: 15px;
border-radius: 8px;
border: 1px solid #e9ecef;
flex-shrink: 0;
}
.cookie-status-section h4 {
color: #667eea;
margin-bottom: 15px;
font-size: 1.1rem;
font-weight: 600;
}
.cookie-status-info {
display: flex;
flex-direction: column;
gap: 8px;
align-items: stretch;
}
.cookie-status-info .status-indicator {
padding: 16px 20px;
border-radius: 12px;
font-weight: 600;
font-size: 1rem;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: all 0.2s ease;
line-height: 1.4;
word-wrap: break-word;
overflow-wrap: break-word;
white-space: normal;
min-height: 60px;
width: 100%;
box-sizing: border-box;
overflow: visible;
}
.cookie-status-info .status-indicator:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.cookie-status-info .status-indicator.active {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
color: #155724;
border: 1px solid #c3e6cb;
}
.cookie-status-info .status-indicator.inactive {
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
color: #721c24;
border: 1px solid #f5c6cb;
}
.cookie-status-info .status-indicator.warning {
background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
color: #856404;
border: 1px solid #ffeaa7;
}
.last-updated {
font-size: 0.85rem;
color: #6c757d;
text-align: center;
font-style: italic;
}
.cookie-warning {
margin-top: 12px;
padding: 12px;
background: #fff3cd;
border: 1px solid #ffeaa7;
border-radius: 6px;
color: #856404;
}
.cookie-warning p {
margin-bottom: 8px;
line-height: 1.4;
}
.cookie-warning p:last-child {
margin-bottom: 0;
}
.cookie-update-section {
background: white;
padding: 15px;
border-radius: 8px;
border: 1px solid #e9ecef;
}
.cookie-update-section h4 {
color: #333;
margin-bottom: 15px;
font-size: 1.1rem;
font-weight: 600;
}
.cookie-update-section .form-group {
margin-bottom: 15px;
}
.cookie-update-section .form-group:last-child {
margin-bottom: 0;
}
.cookie-update-section label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #333;
font-size: 0.95rem;
}
.cookie-update-section textarea {
width: 100%;
padding: 12px;
border: 2px solid #ddd;
border-radius: 6px;
font-family: 'Courier New', monospace;
font-size: 0.85rem;
line-height: 1.4;
resize: vertical;
min-height: 120px;
transition: border-color 0.3s ease;
}
.cookie-update-section textarea:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.cookie-update-section .form-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-top: 15px;
}
.cookie-update-section .btn {
padding: 8px 16px;
border: none;
border-radius: 6px;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
display: inline-block;
}
.cookie-update-section .btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.cookie-update-section .btn-primary:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.cookie-update-section .btn-secondary {
background: #6c757d;
color: white;
}
.cookie-update-section .btn-secondary:hover {
background: #5a6268;
transform: translateY(-1px);
}
.cookie-update-section .btn-danger {
background: #dc3545;
color: white;
}
.cookie-update-section .btn-danger:hover {
background: #c82333;
transform: translateY(-1px);
}
.cookie-help-section {
background: #e3f2fd;
padding: 15px;
border-radius: 8px;
border: 1px solid #bbdefb;
}
.cookie-help-section h4 {
color: #0d47a1;
margin-bottom: 15px;
font-size: 1.1rem;
font-weight: 600;
}
.cookie-instructions {
color: #1565c0;
line-height: 1.5;
}
.cookie-instructions p {
margin-bottom: 12px;
}
.cookie-instructions p:last-child {
margin-bottom: 0;
}
.cookie-instructions strong {
color: #0d47a1;
font-weight: 600;
}
.cookie-instructions ol,
.cookie-instructions ul {
margin: 10px 0 12px 20px;
padding-left: 0;
}
.cookie-instructions li {
margin-bottom: 6px;
line-height: 1.4;
}
.cookie-instructions a {
color: #1976d2;
text-decoration: none;
font-weight: 500;
}
.cookie-instructions a:hover {
text-decoration: underline;
}
.cookie-loading {
text-align: center;
color: #6c757d;
padding: 40px;
font-style: italic;
}
/* Instrumental Selection Modal Specific Styles */
.instrumental-modal-content {
max-width: 900px;
width: 90vw;
max-height: 90vh;
min-height: 60vh;
overflow: hidden;
display: flex;
flex-direction: column;
}
.instrumental-modal-content .modal-header {
flex-shrink: 0;
padding: 1.5rem 2rem 1rem 2rem;
}
.instrumental-modal-content .modal-body {
flex: 1;
overflow: hidden;
display: flex;
flex-direction: column;
padding: 0 2rem 2rem 2rem;
}
.instrumental-selection-intro {
background: #e3f2fd;
border: 1px solid #bbdefb;
border-radius: 8px;
padding: 1.25rem;
margin-bottom: 1.5rem;
color: #0d47a1;
line-height: 1.5;
flex-shrink: 0;
}
.instrumental-selection-content {
flex: 1;
overflow-y: auto;
margin-bottom: 1.5rem;
padding-right: 0.5rem;
}
.instrumental-loading {
text-align: center;
color: #6c757d;
padding: 2rem;
}
.instrumental-options {
display: flex;
flex-direction: column;
gap: 1.25rem;
padding: 0.25rem;
}
.instrumental-option {
border: 2px solid #dee2e6;
border-radius: 12px;
padding: 1.75rem;
background: #f8f9fa;
transition: all 0.3s ease;
cursor: pointer;
position: relative;
margin-bottom: 0.5rem;
}
.instrumental-option:hover {
border-color: #007bff;
background: #e7f3ff;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}
.instrumental-option.selected {
border-color: #28a745;
background: #d4edda;
box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}
.instrumental-option.recommended {
border-color: #ffc107;
background: #fff3cd;
}
.instrumental-option.recommended::before {
content: "⭐ RECOMMENDED";
position: absolute;
top: -8px;
right: 12px;
background: #ffc107;
color: #856404;
padding: 4px 8px;
border-radius: 4px;
font-size: 0.75rem;
font-weight: bold;
letter-spacing: 0.5px;
}
.instrumental-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1.25rem;
gap: 1rem;
}
.instrumental-title {
flex: 1;
min-width: 0;
}
.instrumental-type {
font-weight: bold;
font-size: 1.15rem;
color: #0d47a1;
margin-bottom: 0.5rem;
line-height: 1.3;
}
.instrumental-filename {
font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
font-size: 0.85rem;
color: #6c757d;
word-break: break-all;
line-height: 1.4;
background: rgba(108, 117, 125, 0.1);
padding: 4px 8px;
border-radius: 4px;
margin-top: 0.25rem;
}
.instrumental-controls {
display: flex;
gap: 0.75rem;
flex-shrink: 0;
align-items: center;
}
.instrumental-description {
color: #495057;
margin-bottom: 1.25rem;
line-height: 1.5;
font-size: 0.95rem;
}
.instrumental-metadata {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 1.25rem;
padding-top: 1.25rem;
border-top: 1px solid #dee2e6;
gap: 1rem;
}
.instrumental-size {
font-size: 0.9rem;
color: #6c757d;
background: #e9ecef;
padding: 6px 12px;
border-radius: 6px;
font-weight: 500;
white-space: nowrap;
}
.instrumental-selection-actions {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
padding: 1.25rem 0 0 0;
border-top: 1px solid #dee2e6;
margin-top: auto;
flex-shrink: 0;
background: white;
}
#confirm-instrumental-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.audio-preview-controls {
display: flex;
align-items: center;
gap: 0.75rem;
min-width: 0;
flex-shrink: 0;
}
.audio-preview-player {
width: 220px;
height: 32px;
border-radius: 4px;
background: rgba(255, 255, 255, 0.8);
}
.no-instrumentals {
text-align: center;
color: #dc3545;
background: #f8d7da;
border: 1px solid #f5c6cb;
border-radius: 8px;
padding: 2rem;
margin: 1rem 0;
}
/* Responsive Design Enhancements */
@media (max-width: 768px) {
.auth-container {
padding: 30px 20px;
margin: 20px;
}
.user-status-bar {
flex-direction: column;
gap: 15px;
text-align: center;
}
.user-info {
flex-direction: column;
gap: 10px;
}
/* Notification controls responsive */
.notification-setting {
flex-direction: column;
align-items: flex-start;
gap: 8px;
padding: 12px;
}
.notification-actions {
width: 100%;
justify-content: center;
}
.notification-actions .btn {
width: 100%;
text-align: center;
}
.notification-controls h4 {
font-size: 1rem;
margin-bottom: 12px;
}
.form-row {
grid-template-columns: 1fr;
}
.token-modal-content {
width: 95%;
max-height: 95vh;
}
.token-item {
flex-direction: column;
align-items: flex-start;
gap: 15px;
}
.token-header {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.admin-panel {
bottom: 10px;
right: 10px;
}
.admin-content {
right: -50px;
min-width: 200px;
}
.instrumental-modal-content {
max-width: 95vw;
width: 95vw;
min-height: 50vh;
max-height: 95vh;
margin: 2.5vh auto;
}
.instrumental-modal-content .modal-header {
padding: 1rem 1.5rem 0.75rem 1.5rem;
}
.instrumental-modal-content .modal-body {
padding: 0 1.5rem 1.5rem 1.5rem;
}
.instrumental-option {
padding: 1.25rem;
}
.instrumental-header {
flex-direction: column;
gap: 1rem;
align-items: flex-start;
}
.instrumental-controls {
justify-content: flex-start;
width: 100%;
}
.instrumental-metadata {
flex-direction: column;
align-items: flex-start;
gap: 0.75rem;
}
.instrumental-selection-actions {
flex-direction: column;
gap: 1rem;
padding: 1rem 0 0 0;
}
.instrumental-selection-actions .btn {
width: 100%;
text-align: center;
}
.audio-preview-player {
width: 100%;
max-width: 300px;
}
.cookie-modal-content {
width: 95vw;
margin: 1rem;
}
.cookie-management {
padding: 15px;
gap: 15px;
}
.cookie-status-section,
.cookie-update-section,
.cookie-help-section {
padding: 12px;
}
.cookie-update-section .form-actions {
flex-direction: column;
gap: 8px;
}
.cookie-update-section .btn {
width: 100%;
text-align: center;
}
.cookie-instructions ol,
.cookie-instructions ul {
margin-left: 15px;
}
}
/* YouTube Metadata Auto-Population Styles */
.loading-status {
display: flex;
align-items: center;
justify-content: center;
min-height: 40px;
margin-top: 0.5rem;
}
.metadata-loading {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.9rem;
color: #6c757d;
font-style: italic;
padding: 0.75rem;
background: #f8f9fa;
border: 1px solid #e9ecef;
border-radius: 6px;
text-align: center;
min-width: 180px;
}
.metadata-status {
font-size: 0.85rem;
padding: 0.5rem 0.75rem;
border-radius: 6px;
text-align: center;
transition: all 0.3s ease;
min-height: 20px;
display: flex;
align-items: center;
justify-content: center;
}
.metadata-status.success {
background: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.metadata-status.error {
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.youtube-url-mode .name-fields-row {
margin-top: 1rem;
}
.youtube-url-mode .form-group small {
font-size: 0.8rem;
color: #6c757d;
font-style: italic;
}
/* Enhanced input styling for auto-populated fields */
.youtube-url-mode input[placeholder*="auto-populated"],
.youtube-url-mode input[placeholder*="Auto-extracted"] {
border-color: #28a745;
background: linear-gradient(135deg, #f8fff9 0%, #f0f8f0 100%);
}
.youtube-url-mode input[placeholder*="auto-populated"]:focus,
.youtube-url-mode input[placeholder*="Auto-extracted"]:focus {
border-color: #20c997;
box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.25);
}
/* Disabled field styling for YouTube mode */
.youtube-url-mode input:disabled {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-color: #dee2e6;
color: #6c757d;
cursor: not-allowed;
opacity: 0.7;
}
.youtube-url-mode input:disabled::placeholder {
color: #6c757d;
font-style: italic;
}
/* Loading state styling */
.youtube-url-mode input[placeholder*="Extracting"] {
background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
border-color: #ffc107;
animation: field-pulse 1.5s ease-in-out infinite;
}
@keyframes field-pulse {
0%, 100% {
opacity: 0.8;
}
50% {
opacity: 1;
}
}
/* Loading animation */
@keyframes metadata-pulse {
0%, 100% {
opacity: 0.7;
}
50% {
opacity: 1;
}
}
.metadata-loading {
animation: metadata-pulse 1.5s ease-in-out infinite;
}
/* Mobile responsive adjustments */
@media (max-width: 768px) {
.loading-status {
flex-direction: column;
gap: 0.5rem;
min-height: auto;
}
.metadata-loading {
min-width: auto;
width: 100%;
}
.metadata-status {
width: 100%;
text-align: center;
}
.youtube-url-mode .name-fields-row {
flex-direction: column;
gap: 1rem;
}
}
/* Log Level Settings Styles */
.admin-section {
margin-bottom: 2rem;
padding: 1.5rem;
background: rgba(255, 255, 255, 0.95);
border-radius: 12px;
border: 1px solid var(--border-color);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
}
.log-level-section {
margin-top: 2rem;
padding: 1.5rem;
background: rgba(255, 255, 255, 0.95);
border-radius: 12px;
border: 1px solid var(--border-color);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
}
.log-level-settings {
max-width: 600px;
}
.log-level-settings h4 {
color: var(--primary-color);
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.2rem;
font-weight: 600;
}
.log-level-info {
background: rgba(102, 126, 234, 0.05);
padding: 1rem;
border-radius: 8px;
margin-bottom: 1.5rem;
border-left: 4px solid var(--primary-color);
}
.log-level-info p {
margin: 0.5rem 0;
color: var(--text-color);
}
.log-level-info p:last-child {
margin-bottom: 0;
}
.log-level-description {
color: var(--text-muted);
font-style: italic;
}
.log-level-controls {
margin-bottom: 2rem;
}
.log-level-controls .form-group {
margin-bottom: 1rem;
}
.log-level-controls label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
color: var(--text-color);
}
.log-level-controls select {
width: 100%;
max-width: 400px;
padding: 0.75rem;
border: 2px solid #ddd;
border-radius: 8px;
background: var(--surface-color);
color: var(--text-color);
font-size: 1rem;
transition: border-color 0.3s ease;
}
.log-level-controls select:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.log-level-actions {
display: flex;
gap: 1rem;
margin-top: 1rem;
flex-wrap: wrap;
}
.log-level-help {
background: #f1f5f9;
padding: 1.5rem;
border-radius: 8px;
border-left: 4px solid var(--info-color);
margin-top: 1.5rem;
}
.log-level-help h5 {
color: #334155;
margin-bottom: 1rem;
font-weight: 600;
}
.log-level-help ul {
margin: 0 0 1rem 1.5rem;
padding: 0;
}
.log-level-help li {
margin-bottom: 0.5rem;
color: var(--text-color);
line-height: 1.5;
}
.log-level-help li strong {
color: var(--primary-color);
font-weight: 600;
}
.log-level-help p {
margin: 0;
color: var(--text-muted);
font-style: italic;
}
@media (max-width: 768px) {
.admin-section {
margin-bottom: 1.5rem;
padding: 1rem;
}
.log-level-section {
margin-top: 1rem;
padding: 1rem;
}
.log-level-settings h4 {
font-size: 1.1rem;
}
.log-level-info {
padding: 0.75rem;
margin-bottom: 1rem;
}
.log-level-controls {
margin-bottom: 1.5rem;
}
.log-level-actions {
flex-direction: column;
gap: 0.75rem;
}
.log-level-actions .btn {
width: 100%;
text-align: center;
}
.log-level-controls select {
max-width: 100%;
padding: 0.625rem;
}
.log-level-help {
padding: 1rem;
margin-top: 1rem;
}
.log-level-help h5 {
font-size: 1rem;
}
}
/* Clone Job Modal */
.clone-job-modal-content {
max-width: 600px;
max-height: 90vh;
overflow-y: auto;
}
.clone-job-info {
display: flex;
flex-direction: column;
gap: 25px;
}
.clone-source-info {
background: #f8f9fa;
padding: 15px;
border-radius: 8px;
border-left: 4px solid #007bff;
}
.clone-source-info h4 {
margin: 0 0 10px 0;
color: #007bff;
}
.clone-source-info p {
margin: 5px 0;
font-size: 0.95em;
}
.clone-options h4 {
margin: 0 0 10px 0;
color: #333;
}
.clone-description {
color: #666;
font-size: 0.9em;
margin-bottom: 15px;
}
.clone-phases {
display: flex;
flex-direction: column;
gap: 10px;
margin: 15px 0;
}
.clone-phase-option {
border: 2px solid #ddd;
border-radius: 8px;
overflow: hidden;
transition: all 0.3s ease;
}
.clone-phase-option:hover {
border-color: #007bff;
box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}
.clone-phase-label {
display: block;
margin: 0;
cursor: pointer;
position: relative;
}
.clone-phase-label input[type="radio"] {
position: absolute;
left: 15px;
top: 15px;
margin: 0;
}
.clone-phase-info {
padding: 15px 15px 15px 45px;
background: #f8f9fa;
transition: all 0.3s ease;
}
.clone-phase-label:hover .clone-phase-info {
background: #e3f2fd;
}
.clone-phase-label input[type="radio"]:checked + .clone-phase-info {
background: #007bff;
color: white;
}
.clone-phase-name {
font-weight: bold;
font-size: 1.05em;
margin-bottom: 5px;
}
.clone-phase-description {
font-size: 0.9em;
color: #666;
margin-bottom: 8px;
}
.clone-phase-label input[type="radio"]:checked + .clone-phase-info .clone-phase-description {
color: rgba(255, 255, 255, 0.9);
}
.clone-phase-badge {
display: inline-block;
background: #6c757d;
color: white;
padding: 2px 8px;
border-radius: 12px;
font-size: 0.8em;
font-weight: 500;
}
.clone-phase-label input[type="radio"]:checked + .clone-phase-info .clone-phase-badge {
background: rgba(255, 255, 255, 0.2);
}
.clone-actions {
display: flex;
gap: 10px;
justify-content: flex-end;
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid #ddd;
}
.no-clone-phases {
text-align: center;
padding: 30px;
color: #666;
font-style: italic;
background: #f8f9fa;
border-radius: 8px;
}
@media (max-width: 768px) {
.clone-job-modal-content {
max-width: 95vw;
margin: 20px;
}
.clone-job-info {
gap: 20px;
}
.clone-phase-label input[type="radio"] {
left: 10px;
top: 10px;
}
.clone-phase-info {
padding: 12px 12px 12px 35px;
}
.clone-actions {
flex-direction: column;
gap: 10px;
}
.clone-actions .btn {
width: 100%;
}
}
/* Log Filter Bar Styles */
.log-filter-bar {
border-bottom: 1px solid #e9ecef;
background: #f8f9fa;
padding: 12px 16px;
font-size: 14px;
}
.filter-row {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 8px;
}
.filter-row:last-child {
margin-bottom: 0;
}
.filter-group {
display: flex;
align-items: center;
gap: 6px;
flex: 1;
}
.filter-label {
font-weight: 500;
color: #495057;
white-space: nowrap;
font-size: 13px;
}
.filter-input {
flex: 1;
padding: 6px 10px;
border: 1px solid #ced4da;
border-radius: 4px;
font-size: 13px;
min-width: 120px;
}
.filter-input:focus {
outline: none;
border-color: #007bff;
box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}
.filter-regex-btn {
padding: 6px 8px;
border: 1px solid #ced4da;
border-radius: 4px;
background: #fff;
color: #6c757d;
font-size: 11px;
font-family: monospace;
cursor: pointer;
transition: all 0.2s;
}
.filter-regex-btn:hover {
background: #e9ecef;
}
.filter-regex-btn.active {
background: #007bff;
color: #fff;
border-color: #007bff;
}
.filter-actions {
display: flex;
gap: 6px;
align-items: center;
}
.filter-clear-btn,
.filter-advanced-btn {
padding: 6px 8px;
border: 1px solid #ced4da;
border-radius: 4px;
background: #fff;
color: #6c757d;
cursor: pointer;
transition: all 0.2s;
font-size: 13px;
}
.filter-clear-btn:hover {
background: #dc3545;
color: #fff;
border-color: #dc3545;
}
.filter-advanced-btn:hover {
background: #e9ecef;
}
.filter-advanced-btn.active {
background: #007bff;
color: #fff;
border-color: #007bff;
}
.advanced-filters-section {
border-top: 1px solid #e9ecef;
padding-top: 12px;
margin-top: 8px;
}
.filter-logic-group,
.filter-level-group {
display: flex;
align-items: center;
gap: 6px;
}
.filter-logic-select,
.filter-level-select {
padding: 6px 8px;
border: 1px solid #ced4da;
border-radius: 4px;
font-size: 13px;
background: #fff;
min-width: 120px;
}
.filter-logic-select:focus,
.filter-level-select:focus {
outline: none;
border-color: #007bff;
box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}
.filter-add-btn {
padding: 6px 12px;
border: 1px solid #28a745;
border-radius: 4px;
background: #fff;
color: #28a745;
cursor: pointer;
transition: all 0.2s;
font-size: 13px;
}
.filter-add-btn:hover {
background: #28a745;
color: #fff;
}
.filter-stats {
color: #6c757d;
font-size: 12px;
font-style: italic;
margin-left: auto;
}
.additional-filter {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 0;
border-top: 1px solid #e9ecef;
}
.additional-filter-input {
flex: 1;
padding: 4px 8px;
border: 1px solid #ced4da;
border-radius: 3px;
font-size: 12px;
}
.additional-filter-type {
padding: 4px 6px;
border: 1px solid #ced4da;
border-radius: 3px;
font-size: 12px;
min-width: 80px;
}
.additional-filter-remove {
padding: 4px 6px;
border: 1px solid #dc3545;
border-radius: 3px;
background: #fff;
color: #dc3545;
cursor: pointer;
font-size: 12px;
}
.additional-filter-remove:hover {
background: #dc3545;
color: #fff;
}
/* Filter highlight styles */
.log-entry.filtered-out {
display: none !important;
}
.log-entry .filter-highlight {
background-color: #fff3cd;
color: #856404;
padding: 0 2px;
border-radius: 2px;
}
/* Responsive adjustments for filter bar */
@media (max-width: 768px) {
.filter-row {
flex-direction: column;
align-items: stretch;
gap: 8px;
}
.filter-group {
flex-direction: column;
align-items: stretch;
gap: 4px;
}
.filter-actions {
justify-content: center;
}
.filter-stats {
margin-left: 0;
text-align: center;
}
}