.speedway-container {
    max-width: 1200px;
    margin: 40px auto;
    background: #f8f9fa;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1a1a1a;
    line-height: 1.5;
}

.speedway-header {
    background: #fff;
    padding: 20px 40px;
    border-bottom: 1px solid #e1e4e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.speedway-branding {
    display: flex;
    align-items: center;
    gap: 20px;
}

.speedway-logo {
    max-height: 60px;
}

.speedway-company-info {
    font-size: 13px;
    color: #666;
}

.speedway-company-info strong {
    font-size: 16px;
    color: #1a1a1a;
}

.speedway-page-title {
    font-size: 18px;
    font-weight: 600;
    color: #0073aa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.speedway-main {
    padding: 40px;
}

.speedway-job-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid #e1e4e8;
}

.speedway-card-header {
    background: #f1f3f5;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e1e4e8;
}

.speedway-card-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.speedway-card-body {
    padding: 25px;
}

.speedway-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.speedway-info-item label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 600;
}

.speedway-info-item span {
    font-size: 15px;
    font-weight: 500;
}

.speedway-designer-notes {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.speedway-designer-notes label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}

.speedway-designer-notes p {
    margin: 0;
    font-size: 14px;
    background: #fff9db;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #fcc419;
}

.speedway-instructions-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e1e4e8;
    margin-bottom: 30px;
}

.speedway-instructions-card h3 {
    margin-top: 0;
    font-size: 20px;
    color: #0073aa;
}

.speedway-checklist {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.speedway-checklist li {
    font-size: 14px;
    color: #495057;
}

.speedway-proof-viewer-container {
    background: #343a40;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.speedway-image-viewer {
    text-align: center;
}

.speedway-image-viewer img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.speedway-review-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.speedway-notice-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e1e4e8;
    font-size: 13px;
    color: #666;
}

.speedway-notice-box h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-size: 14px;
    text-transform: uppercase;
}

.speedway-action-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.speedway-action-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.speedway-action-card h3 {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 20px;
}

.speedway-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    margin-bottom: 25px;
}

.speedway-checkbox-container input {
    margin-top: 4px;
}

.checkbox-text {
    font-size: 13px;
    color: #495057;
    line-height: 1.6;
}

.speedway-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
}

.speedway-btn-approve {
    color: #fff;
}

.speedway-btn-approve:disabled {
    background-color: #dee2e6 !important;
    color: #adb5bd;
    cursor: not-allowed;
}

.speedway-btn-changes {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

.speedway-btn-changes:hover {
    background-color: #e9ecef;
}

#change-comments {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 14px;
}

.speedway-alert {
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.speedway-alert h3 { margin-top: 0; }

.speedway-alert-success { background: #d3f9d8; color: #2b8a3e; border: 1px solid #b2f2bb; }
.speedway-alert-warning { background: #fff3bf; color: #e67700; border: 1px solid #ffec99; }
.speedway-alert-info { background: #e7f5ff; color: #1864ab; border: 1px solid #d0ebff; }

.speedway-footer {
    background: #fff;
    padding: 60px 40px;
    border-top: 1px solid #e1e4e8;
}

.speedway-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.speedway-footer-contact h3 {
    font-size: 14px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 20px;
}

.speedway-footer-contact p {
    margin: 5px 0;
    font-size: 14px;
    color: #495057;
}

.speedway-footer-copy {
    font-size: 12px;
    color: #adb5bd;
}

.speedway-error-container {
    max-width: 600px;
    margin: 100px auto;
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
    .speedway-review-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .speedway-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .speedway-footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .speedway-actions {
        grid-template-columns: 1fr;
    }
    .speedway-action-divider {
        justify-content: center;
        padding: 10px 0;
    }
    .speedway-branding {
        flex-direction: column;
        text-align: center;
    }
}

#speedway-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.speedway-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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