/* Artwork Proofing Widget Styles */

/* Main container */
.artwork-proofing-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Widget header */
.widget-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.widget-header h1 {
    color: #333;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 25px 0;
    font-family: 'Poppins', sans-serif;
}

.widget-description {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* File upload section */
.file-upload-section {
    margin-bottom: 50px;
    text-align: center;
}

.upload-area {
    margin-bottom: 30px;
}

.upload-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 3px dashed #007bff;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 300px;
    min-height: 200px;
}

.upload-button:hover {
    border-color: #0056b3;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.upload-button i {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 15px;
}

.upload-button span {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.upload-button small {
    font-size: 14px;
    color: #666;
    font-family: 'Poppins', sans-serif;
}

/* File info display */
.file-info {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.file-details h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    font-family: 'Poppins', sans-serif;
}

.file-details p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
    font-family: 'Poppins', sans-serif;
}

/* Artwork preview section */
.artwork-preview-section {
    margin-bottom: 50px;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.preview-header h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.dimension-display {
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Page navigation */
.page-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.nav-btn {
    padding: 10px 20px;
    border: 2px solid #007bff;
    background: white;
    color: #007bff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
    background: #007bff;
    color: white;
    transform: translateY(-1px);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

/* Artwork container */
.artwork-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.transparency-grid {
    position: relative;
    background-image: 
        linear-gradient(45deg, #ccc 25%, transparent 25%),
        linear-gradient(-45deg, #ccc 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #ccc 75%),
        linear-gradient(-45deg, transparent 75%, #ccc 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border: 2px solid #999;
    border-radius: 8px;
    overflow: hidden;
    min-width: 400px;
    min-height: 300px;
}

.artwork-canvas {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    width: 100%;
}

.artwork-canvas img,
.artwork-canvas canvas {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Overlay guides */
.overlay-guides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.guide-line {
    position: absolute;
    border: 2px solid;
    border-radius: 4px;
}

.bleed-line {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

.artwork-edge {
    border-color: #000000;
    background: rgba(0, 0, 0, 0.05);
}

.safe-zone {
    border-color: #0066ff;
    background: rgba(0, 102, 255, 0.1);
}

/* Approval section */
.approval-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.approval-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.approve-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.approve-btn:hover {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.approve-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.approve-btn.approved {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    cursor: not-allowed;
}

.approve-btn.approved:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* Technical details */
.technical-details {
    margin-bottom: 50px;
}

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

.detail-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #007bff;
    font-family: 'Poppins', sans-serif;
}

.detail-item strong {
    color: #333;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.detail-item span {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

/* Instructions section */
.instructions-section {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

.instructions-section h3 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 30px 0;
    font-family: 'Poppins', sans-serif;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.instruction-item {
    text-align: center;
    padding: 20px;
}

.instruction-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.instruction-icon i {
    font-size: 36px;
    color: white;
}

.instruction-item h4 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
    font-family: 'Poppins', sans-serif;
}

.instruction-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Responsive design */
@media (max-width: 768px) {
    .artwork-proofing-section {
        padding: 20px 15px;
    }
    
    .widget-header h1 {
        font-size: 32px;
    }
    
    .widget-description {
        font-size: 16px;
    }
    
    .upload-button {
        min-width: 250px;
        min-height: 150px;
        padding: 30px 20px;
    }
    
    .upload-button i {
        font-size: 36px;
    }
    
    .upload-button span {
        font-size: 18px;
    }
    
    .preview-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .page-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .approval-section {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .instructions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .transparency-grid {
        min-width: 300px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .artwork-proofing-section {
        padding: 15px 10px;
    }
    
    .widget-header h1 {
        font-size: 28px;
    }
    
    .upload-button {
        min-width: 200px;
        min-height: 120px;
        padding: 20px 15px;
    }
    
    .upload-button i {
        font-size: 28px;
    }
    
    .upload-button span {
        font-size: 16px;
    }
    
    .transparency-grid {
        min-width: 250px;
        min-height: 150px;
    }
    
    .detail-item {
        padding: 15px;
    }
    
    .instruction-icon {
        width: 60px;
        height: 60px;
    }
    
    .instruction-icon i {
        font-size: 28px;
    }
}
