/* ============================================
   CULTURAL EVENT MANAGEMENT SYSTEM - STYLES
   Gold & Magenta Theme
   ============================================ */

/* CSS Variables - Theme */
:root {
    /* Primary Colors */
    --primary-gold: #D4A574;
    --primary-magenta: #C41E3A;
    --primary-dark-magenta: #8B1528;
    --accent-light-gold: #F5E6D3;
    --accent-cream: #FAF9F7;

    /* Neutrals */
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --border-color: #E8DCC8;
    --bg-light: #FFFFFF;
    --bg-dark: #0F0F0F;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.16);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Typography */
    --font-display: 'Georgia', 'Garamond', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Monaco', 'Courier New', monospace;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--primary-magenta);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark-magenta);
}

/* ============================================
   BUTTONS & INTERACTIONS
   ============================================ */

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: var(--primary-magenta);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--primary-dark-magenta);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--accent-light-gold);
    color: var(--primary-dark-magenta);
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-lock-unlock {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #2E7D32;
    color: white;
    min-width: 130px;
}

.btn-lock-unlock:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.toggle-ready {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background: var(--accent-light-gold);
    color: var(--primary-magenta);
    border: 1px solid var(--primary-gold);
    border-radius: 6px;
}

.toggle-ready.active {
    background: #E8F5E9;
    color: #2E7D32;
    border-color: #2E7D32;
}

.btn-play {
    background: var(--primary-magenta);
    color: white;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.btn-play:hover {
    background: var(--primary-dark-magenta);
    transform: scale(1.1);
}

.nav-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.15);
}

.nav-btn.close {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
}

.nav-btn.auto-btn {
    background: rgba(212, 165, 116, 0.6);
}

.nav-btn.auto-btn.active {
    background: var(--primary-magenta);
}

/* ============================================
   CONTROL PANEL (Laptop Screen)
   ============================================ */

.control-panel {
    background: linear-gradient(135deg, var(--accent-cream) 0%, #F0E8DC 100%);
    min-height: 100vh;
}

.panel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 8px solid var(--primary-magenta);
}

.header-content h1 {
    color: var(--primary-dark-magenta);
    margin-bottom: 0.25rem;
}

.subtitle {
    color: var(--primary-gold);
    font-size: 1rem;
    font-weight: 500;
}

.header-actions {
    display: flex;
    gap: var(--spacing-md);
}

.control-section {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.section-title {
    color: var(--primary-dark-magenta);
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
    position: relative;
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--primary-gold);
}

.queue-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stat {
    background: linear-gradient(135deg, var(--accent-light-gold), var(--accent-cream));
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-label {
    display: block;
    color: var(--primary-dark-magenta);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-display);
    color: var(--primary-magenta);
    font-weight: 700;
}

.stat-value.ready {
    color: #2E7D32;
}

.stat-value.next {
    color: var(--primary-gold);
}

/* Now Playing Card */
.now-playing-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
    border: 2px solid #4CAF50;
}

.now-playing-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 1;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

.now-playing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.now-playing-card p {
    opacity: 0.95;
    margin-bottom: var(--spacing-md);
}

.audio-controls {
    background: rgba(255, 255, 255, 0.15);
    padding: var(--spacing-md);
    border-radius: 8px;
}

.audio-player {
    width: 100%;
    accent-color: var(--primary-gold);
}

/* Queue List */
.queue-list-container {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--accent-cream);
}

.queue-list {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.queue-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: move;
}

.queue-item:hover {
    border-left-color: var(--primary-gold);
    box-shadow: var(--shadow-sm);
}

.queue-item.not-ready {
    opacity: 0.7;
    background: #FAFAFA;
}

.queue-item.ready {
    border-left-color: #2E7D32;
}

.queue-item.current {
    border: 3px solid #2E7D32;
    border-left: 6px solid #2E7D32;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
    position: relative;
}

.queue-item.current::before {
    content: '▶ NOW PLAYING';
    position: absolute;
    top: 8px;
    right: 12px;
    background: #2E7D32;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.queue-item.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

.queue-item.drag-over {
    background: var(--accent-light-gold);
    border-top: 2px dashed var(--primary-magenta);
}

.drag-handle {
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
    cursor: grab;
    user-select: none;
}

.drag-handle:active {
    cursor: grabbing;
}

.queue-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.queue-number {
    background: var(--primary-gold);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.queue-number-large {
    background: linear-gradient(135deg, var(--primary-magenta), var(--primary-dark-magenta));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
}

.queue-title {
    font-weight: 600;
    color: var(--primary-dark-magenta);
    font-size: 1rem;
}

.queue-meta {
    font-size: 0.85rem;
    color: #666;
}

.queue-notes {
    font-size: 0.8rem;
    color: #C41E3A;
    margin-top: 0.25rem;
    font-style: italic;
}

.queue-audio-status {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.status-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.status-select:hover {
    border-color: var(--primary-gold);
}

.btn-notes {
    padding: 0.5rem 0.75rem;
    background: #D4A574;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-notes:hover {
    background: #B8934D;
    transform: scale(1.05);
}

.btn-audio {
    padding: 0.5rem 0.75rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-audio:hover {
    background: #45a049;
    transform: scale(1.05);
}

.queue-item.status-complete {
    opacity: 0.6;
    background: #f0f0f0;
}

.queue-item.status-complete .queue-number-large {
    background: #2E7D32;
}

.queue-item.status-cancelled {
    opacity: 0.4;
    background: #fafafa;
}

.queue-item.status-cancelled .queue-number-large {
    background: #d32f2f;
}

.queue-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

/* ============================================
   DISPLAY SCREEN (Projector)
   ============================================ */

.display-screen {
    background: #000;
    color: white;
    overflow: hidden;
}

.display-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    height: 100vh;
    gap: 0;
}

.main-performance {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: var(--spacing-lg);
    position: relative;
}

.slide-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    position: relative;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.loading-text {
    font-size: 1.5rem;
    font-family: var(--font-display);
}

.performance-info {
    background: rgba(0, 0, 0, 0.4);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 6px solid var(--primary-gold);
    margin-bottom: var(--spacing-md);
}

.performance-info h1 {
    color: var(--primary-gold);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.performance-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.participants-preview {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

.participants-preview strong {
    color: var(--primary-gold);
}

.audio-display {
    background: rgba(196, 30, 58, 0.2);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--primary-magenta);
}

.audio-player {
    width: 100%;
    accent-color: var(--primary-gold);
}

/* Upcoming Sidebar */
.upcoming-sidebar {
    background: linear-gradient(180deg, rgba(196, 30, 58, 0.1), rgba(0, 0, 0, 0.3));
    border-left: 3px solid var(--primary-gold);
    padding: var(--spacing-md);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.upcoming-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: var(--spacing-sm);
}

.upcoming-header h3 {
    color: var(--primary-gold);
    font-size: 1.3rem;
}

.upcoming-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.upcoming-item {
    background: rgba(255, 255, 255, 0.08);
    padding: var(--spacing-sm);
    border-radius: 6px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.upcoming-number {
    background: var(--primary-gold);
    color: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.upcoming-title {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.upcoming-choreographer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.upcoming-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.upcoming-status.ready {
    background: rgba(46, 125, 50, 0.3);
    color: #81C784;
}

.upcoming-status.not-ready {
    background: rgba(196, 30, 58, 0.3);
    color: #EF9A9A;
}

/* Display Controls */
.display-controls {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-md);
    z-index: 10;
}

/* ============================================
   MC SCREEN (Sponsor & Archive)
   ============================================ */

.mc-screen {
    background: #000;
    color: white;
    overflow: hidden;
}

.mc-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mc-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.mc-placeholder .placeholder-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-lg);
}

.mc-placeholder h1 {
    color: var(--primary-gold);
    margin-bottom: var(--spacing-md);
}

.placeholder-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-mono);
}

.setup-instructions {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-lg);
    border-radius: 8px;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.setup-instructions h3 {
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
}

.setup-instructions ol {
    color: rgba(255, 255, 255, 0.8);
    margin-left: var(--spacing-md);
}

.setup-instructions li {
    margin-bottom: var(--spacing-sm);
}

.setup-instructions code {
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--primary-gold);
}

.mc-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mc-controls {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.6);
    padding: var(--spacing-md);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.slide-counter {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1rem;
    min-width: 60px;
    text-align: center;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--accent-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-magenta);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .display-container {
        grid-template-columns: 1fr 280px;
    }

    .performance-info h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .panel-header {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: flex-start;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
    }

    .queue-stats {
        grid-template-columns: 1fr;
    }

    .display-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }

    .upcoming-sidebar {
        max-height: 200px;
        border-left: none;
        border-top: 3px solid var(--primary-gold);
        padding: var(--spacing-md);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

/* ============================================
   PERFORMANCE LIST
   ============================================ */

.performance-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.performance-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.performance-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-magenta);
}

.performance-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    color: var(--primary-magenta);
    word-break: break-word;
}

.performance-card p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
}

.performance-card p strong {
    color: var(--text-dark);
    font-weight: 600;
}

.performance-card .meta {
    font-size: 0.85rem;
    color: #999;
    margin: 0.5rem 0;
    font-style: italic;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
}

.btn-danger {
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

/* ============================================
   MODAL DIALOGS
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: #fafafa;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-magenta);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--primary-magenta);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    justify-content: flex-end;
}

.btn-modal {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--primary-magenta);
    color: white;
}

.btn-modal:hover {
    background: var(--primary-dark-magenta);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-modal-cancel {
    background: #f0f0f0;
    color: var(--text-dark);
}

.btn-modal-cancel:hover {
    background: #e0e0e0;
}

.btn-modal-save {
    background: #4CAF50;
}

.btn-modal-save:hover {
    background: #45a049;
}

.modal-field {
    margin-bottom: 1.5rem;
}

.modal-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.modal-field input,
.modal-field textarea,
.modal-field select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
}

.modal-field textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-field input:focus,
.modal-field textarea:focus,
.modal-field select:focus {
    outline: none;
    border-color: var(--primary-magenta);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

/* Mobile Modal Adjustments */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-footer {
        padding: 1rem;
        flex-direction: column;
    }

    .btn-modal {
        width: 100%;
    }
}

@media print {
    body {
        background: white;
    }

    .display-controls,
    .mc-controls,
    .header-actions {
        display: none !important;
    }
}
