





.repair-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .repair-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


.repair-info {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.repair-info h2 {
    font-family: var(--font-tertiary);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-top: 0;
    color: #1a1a1a;
    font-size: 1.5rem;
}

.repair-info__list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.repair-info__list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.repair-info__list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #e74c3c;
}


.repair-process {
    margin-top: 2.5rem;
}

.repair-process h3 {
    font-family: var(--font-tertiary);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.process-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 3rem;
    width: 2px;
    height: calc(100% + 0.5rem);
    background: #ddd;
}

.step-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: var(--background-alt);
    color: var(--acl-accent-gray);
    border: 2px solid var(--acl-accent-gray);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.process-step:first-child .step-number {
    background: var(--acl-accent-gray);
    color: white;
    border-color: var(--acl-accent-gray);
}

.step-content h4 {
    font-family: var(--font-tertiary);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 0.25rem 0;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.step-content p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}


.repair-form-section {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.repair-form .form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.repair-form .form-section:last-of-type {
    border-bottom: none;
}

.repair-form legend {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}


.success-panel {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--acl-red);
    margin-bottom: 1rem;
}

.success-panel h3 {
    font-family: var(--font-tertiary);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #155724;
    margin-bottom: 1rem;
}

.success-panel p {
    color: #155724;
    margin-bottom: 1rem;
}

#ticket-number {
    font-size: 1.25rem;
    color: #e74c3c;
    font-family: monospace;
}

.shipping-info {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.shipping-info h4 {
    font-family: var(--font-tertiary);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-top: 0;
    color: #1a1a1a;
}

.shipping-address {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
    font-family: monospace;
}

.shipping-note {
    color: #666;
    font-style: italic;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}


.status-content {
    max-width: 900px;
    margin: 3rem auto;
}

.status-form-section {
    margin-bottom: 2rem;
}

.form-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--acl-red) 0%, var(--acl-accent-gray) 100%);
}

.form-intro {
    color: #666;
    margin-bottom: 2rem;
}

.info-panel {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.info-panel::before {
    content: '?';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--acl-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0.1;
}

.info-panel h3 {
    font-family: var(--font-tertiary);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-top: 0;
    color: #1a1a1a;
    font-size: 1.1rem;
}


.status-result {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
    padding: 2rem;
}

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

.status-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 2.5rem;
    margin: -2rem -2rem 2rem -2rem;
    border-bottom: 2px solid rgba(231, 76, 60, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.status-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--acl-red);
}

.status-header h2 {
    font-family: var(--font-tertiary);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
    color: #1a1a1a;
}

.ticket-info {
    color: #666;
    margin: 0;
}

.status-card {
    padding: 2rem;
}


.status-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.status-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: var(--acl-red);
    opacity: 0.8;
}

.status-badge {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.05);
    }
    100% {
        box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
    }
}

.status-badge--pending { background: var(--acl-accent-yellow); }
.status-badge--received { background: var(--acl-accent-gray); }
.status-badge--in_progress { background: var(--acl-red); }
.status-badge--waiting_parts { background: var(--acl-accent-yellow); }
.status-badge--completed { background: var(--acl-green); }
.status-badge--shipped { background: var(--acl-green); }
.status-badge--cancelled { background: var(--acl-gray); }

.status-text {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}


.repair-details {
    margin-bottom: 2rem;
}

.detail-row {
    display: flex;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
}

.detail-row:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.detail-label {
    flex: 0 0 180px;
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    flex: 1;
    color: #1a1a1a;
    font-weight: 500;
}


.status-timeline {
    margin: 2rem 0;
}

.status-timeline h3 {
    font-family: var(--font-tertiary);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    bottom: 0.75rem;
    width: 2px;
    background: #ddd;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -1.25rem;
    top: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    background: white;
    border: 3px solid #ddd;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.timeline-item.completed .timeline-marker {
    background: var(--acl-red);
    border-color: var(--acl-red);
}

.timeline-item.current .timeline-marker {
    background: var(--acl-red);
    border-color: var(--acl-red);
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.2);
}

.timeline-content h4 {
    font-family: var(--font-tertiary);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 0.25rem 0;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.timeline-content p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.timeline-item.completed .timeline-content h4 {
    color: var(--acl-green);
}

.timeline-item.current .timeline-content h4 {
    color: var(--acl-red);
}


.technician-notes {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.technician-notes h3 {
    font-family: var(--font-tertiary);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-top: 0;
    color: #1a1a1a;
}

.notes-content {
    white-space: pre-wrap;
    color: #666;
}


.error-panel {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.error-panel h3 {
    font-family: var(--font-tertiary);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #721c24;
    margin-bottom: 1rem;
}

.error-panel p {
    color: #721c24;
    margin-bottom: 1rem;
}


@media print {
    .site-header,
    .site-footer,
    .action-buttons,
    .form-actions,
    .repair-info {
        display: none;
    }
    
    .repair-content {
        display: block;
    }
    
    .success-panel,
    .status-result {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .shipping-info {
        border: 2px solid #000;
        page-break-inside: avoid;
    }
}


@media (max-width: 768px) {
    .repair-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .detail-row {
        flex-direction: column;
    }
    
    .detail-label {
        flex: none;
        margin-bottom: 0.25rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .status-header {
        flex-direction: column;
        text-align: center;
    }
}


.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
}

.form-checkbox label {
    cursor: pointer;
    line-height: 1.5;
}


.status-overview {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}


.attachments-section {
    padding: 1.5rem;
}

.attachments-list {
    margin-bottom: 2rem;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
}

.attachment-preview {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg);
    border-radius: 4px;
    overflow: hidden;
}

.attachment-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attachment-icon {
    font-size: 2rem;
    opacity: 0.7;
}

.attachment-info {
    flex: 1;
}

.attachment-name {
    font-weight: 500;
    color: var(--text);
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.attachment-details {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 0.25rem 0;
}

.attachment-details span + span::before {
    content: " • ";
    margin: 0 0.25rem;
}

.attachment-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    font-style: italic;
}

/* Utility class for visually hiding elements */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.attachment-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Legacy styles for compatibility */
.attachment-item__icon {
    font-size: 2rem;
    opacity: 0.7;
}

.attachment-item__info {
    flex: 1;
}

.attachment-item__name {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.attachment-item__meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.no-attachments {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
}


.upload-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.upload-section h4 {
    font-family: var(--font-tertiary);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.upload-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}


.timeline-date {
    font-size: 0.875rem;
    color: #999;
    margin-top: 0.25rem;
}

.timeline-notes {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}


/* Utility Classes */
.is-hidden {
    display: none;
}