/** * L'Oréal Box Asset Submission Form - Styles * Colors: Black (#000000) and Yellow (#FFC407) * Font: Montserrat */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Montserrat', sans-serif; background-color: #000000; padding: 20px; min-height: 100vh; } /* Page Header */ .page-header { padding: 20px 40px; background-color: #ffffff; border-radius: 10px; margin-bottom: 30px; box-shadow: 0 4px 6px rgba(255, 196, 7, 0.3); } .header-content { display: flex; justify-content: space-between; align-items: center; } .page-header h1 { color: #000000; font-weight: 700; font-size: 24px; } .user-info { color: #000000; font-size: 14px; font-weight: 600; } .user-info span { color: #FFC407; } /* Main Container - Two Column Layout */ .main-container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1400px; margin: 0 auto; } /* Form Column */ .form-column { background-color: #ffffff; padding: 40px; border-radius: 10px; box-shadow: 0 4px 6px rgba(255, 196, 7, 0.3); } .form-group { margin-bottom: 25px; } label { display: block; color: #000000; font-weight: 600; margin-bottom: 8px; font-size: 14px; } /* Input with Button Layout */ .input-with-button { display: flex; gap: 10px; align-items: stretch; } .input-with-button input[type="text"] { flex: 1; } input[type="date"], input[type="text"] { width: 100%; padding: 12px; border: 2px solid #FFC407; border-radius: 5px; font-family: 'Montserrat', sans-serif; font-size: 14px; color: #000000; background-color: #ffffff; transition: border-color 0.3s ease; } input[type="date"]:focus, input[type="text"]:focus { outline: none; border-color: #000000; } /* Lookup Button */ .lookup-btn { padding: 12px 24px; background-color: #000000; color: #FFC407; border: 2px solid #FFC407; border-radius: 5px; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; min-width: 120px; flex-shrink: 0; } .lookup-btn:hover:not(:disabled) { background-color: #FFC407; color: #000000; transform: translateY(-2px); } .lookup-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } input.validating { border-color: #FFC407; animation: pulse 1s infinite; } input.valid { border-color: #4CAF50; } input.invalid { border-color: #ff4444; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } } /* Validation Message */ .validation-message { margin-top: 8px; font-size: 12px; min-height: 18px; } .validation-message.loading { color: #FFC407; } .validation-message.success { color: #4CAF50; } .validation-message.error { color: #ff4444; } /* Submit Button */ .submit-btn { width: 100%; padding: 14px; background-color: #FFC407; color: #000000; border: none; border-radius: 5px; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; margin-top: 10px; } .submit-btn:hover:not(:disabled) { background-color: #000000; color: #FFC407; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(255, 196, 7, 0.4); } .submit-btn:active:not(:disabled) { transform: translateY(0); } .submit-btn:disabled { opacity: 0.5; cursor: not-allowed; } /* Message Alert */ .message { margin-top: 20px; padding: 12px; border-radius: 5px; text-align: center; font-weight: 600; display: none; } .message.success { background-color: #FFC407; color: #000000; } .message.error { background-color: #ff4444; color: #ffffff; } /* Preview Column */ .preview-column { background-color: #ffffff; padding: 40px; border-radius: 10px; box-shadow: 0 4px 6px rgba(255, 196, 7, 0.3); } .preview-container { min-height: 400px; } .preview-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 400px; color: #999; text-align: center; } .preview-placeholder svg { margin-bottom: 20px; opacity: 0.5; } .preview-placeholder p { font-size: 16px; } /* Preview Content */ .preview-content { animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .preview-header { border-bottom: 2px solid #FFC407; padding-bottom: 15px; margin-bottom: 20px; } .preview-header h2 { color: #000000; font-size: 20px; margin-bottom: 10px; } .preview-info { background-color: #f9f9f9; padding: 15px; border-radius: 5px; margin-bottom: 10px; border-left: 4px solid #FFC407; } .preview-info-label { font-size: 12px; color: #666; font-weight: 600; text-transform: uppercase; margin-bottom: 5px; } .preview-info-value { font-size: 16px; color: #000000; font-weight: 700; } .preview-section { margin-top: 25px; } .preview-section h3 { color: #000000; font-size: 16px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; } .preview-section h3::before { content: ''; width: 4px; height: 16px; background-color: #FFC407; border-radius: 2px; } .contents-summary { display: flex; gap: 20px; margin-bottom: 20px; } .summary-item { flex: 1; background-color: #f9f9f9; padding: 15px; border-radius: 5px; text-align: center; } .summary-count { font-size: 24px; font-weight: 700; color: #FFC407; } .summary-label { font-size: 12px; color: #666; text-transform: uppercase; margin-top: 5px; } .items-list { max-height: 300px; overflow-y: auto; } .item { padding: 10px; border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 10px; } .item:last-child { border-bottom: none; } .item-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 16px; } .item-name { flex: 1; color: #000000; font-size: 14px; } .item-type { font-size: 11px; color: #666; text-transform: uppercase; } /* Nested Folder Styles */ .nested-items { padding: 0; } .folder-item { display: flex; align-items: center; gap: 5px; background-color: #f9f9f9; border-left: 3px solid #FFC407; margin-bottom: 2px; } .folder-toggle { background: none; border: none; cursor: pointer; padding: 5px; font-size: 12px; color: #FFC407; transition: transform 0.2s ease; min-width: 20px; } .folder-toggle:hover { color: #000000; } .toggle-icon { display: inline-block; font-family: monospace; font-weight: bold; } .folder-spacer { display: inline-block; width: 20px; } .folder-contents { animation: slideDown 0.2s ease; } @keyframes slideDown { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 1000px; } } .empty-message { text-align: center; color: #999; padding: 20px; font-style: italic; } /* Loading Spinner */ .loading-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid #FFC407; border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Tab Navigation */ .tab-navigation { display: flex; gap: 0; margin-top: 20px; border-bottom: 2px solid #FFC407; } .tab { padding: 12px 24px; background-color: transparent; color: #000000; text-decoration: none; font-weight: 600; font-size: 14px; border: none; border-bottom: 3px solid transparent; cursor: pointer; transition: all 0.3s ease; margin-bottom: -2px; } .tab:hover { background-color: rgba(255, 196, 7, 0.1); } .tab.active { color: #FFC407; border-bottom-color: #FFC407; background-color: rgba(255, 196, 7, 0.05); } /* Global to Local Styles */ .g2l-container { max-width: 1200px; margin: 0 auto; } .upload-section, .progress-section, .preview-section { background-color: #ffffff; padding: 40px; border-radius: 10px; box-shadow: 0 4px 6px rgba(255, 196, 7, 0.3); margin-bottom: 30px; } .upload-section h2, .progress-section h2, .preview-section h2 { color: #000000; font-size: 22px; margin-bottom: 10px; } .section-description { color: #666; font-size: 14px; margin-bottom: 30px; } /* Upload Dropzone */ .upload-dropzone { border: 3px dashed #FFC407; border-radius: 10px; padding: 60px 40px; text-align: center; cursor: pointer; transition: all 0.3s ease; margin-bottom: 20px; } .upload-dropzone:hover { border-color: #000000; background-color: rgba(255, 196, 7, 0.05); } .upload-dropzone.dragover { border-color: #000000; background-color: rgba(255, 196, 7, 0.1); transform: scale(1.02); } .dropzone-text { color: #000000; font-size: 16px; font-weight: 600; margin-top: 20px; } .dropzone-limit { color: #999; font-size: 12px; margin-top: 8px; } /* File Info Display */ .file-info { display: flex; align-items: center; gap: 15px; padding: 15px; background-color: #f9f9f9; border: 2px solid #FFC407; border-radius: 8px; margin-bottom: 20px; } .file-icon { font-size: 32px; } .file-details { flex: 1; } .file-name { font-weight: 600; color: #000000; font-size: 14px; margin-bottom: 4px; } .file-size { color: #666; font-size: 12px; } .remove-file-btn { background: none; border: none; color: #ff4444; font-size: 24px; cursor: pointer; padding: 5px 10px; transition: transform 0.2s ease; } .remove-file-btn:hover { transform: scale(1.2); } /* Progress Tracker */ .progress-tracker { display: flex; flex-direction: column; gap: 15px; } .progress-step { display: flex; align-items: flex-start; gap: 15px; padding: 15px; background-color: #f9f9f9; border-radius: 8px; border-left: 4px solid #ddd; transition: all 0.3s ease; } .progress-step.pending { border-left-color: #ddd; opacity: 0.6; } .progress-step.processing { border-left-color: #FFC407; background-color: rgba(255, 196, 7, 0.1); animation: pulse 2s infinite; } .progress-step.success { border-left-color: #4CAF50; background-color: rgba(76, 175, 80, 0.05); } .progress-step.warning { border-left-color: #ff9800; background-color: rgba(255, 152, 0, 0.05); } .progress-step.error { border-left-color: #ff4444; background-color: rgba(255, 68, 68, 0.05); } .step-icon { font-size: 24px; min-width: 30px; text-align: center; } .step-content { flex: 1; } .step-title { font-weight: 700; color: #000000; font-size: 15px; margin-bottom: 4px; } .step-message { color: #666; font-size: 13px; } /* Alert Cards */ #alertsContainer { margin-top: 30px; } .alert-card { padding: 20px; border-radius: 8px; margin-bottom: 15px; border-left: 5px solid; } .alert-card.error { background-color: rgba(255, 68, 68, 0.1); border-left-color: #ff4444; } .alert-card.warning { background-color: rgba(255, 152, 0, 0.1); border-left-color: #ff9800; } .alert-card.success { background-color: rgba(76, 175, 80, 0.1); border-left-color: #4CAF50; } .alert-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .alert-icon { font-size: 24px; } .alert-title { font-weight: 700; font-size: 16px; color: #000000; } .alert-message { color: #333; font-size: 14px; margin-bottom: 10px; line-height: 1.5; } .alert-details { background-color: rgba(0, 0, 0, 0.05); padding: 10px; border-radius: 5px; font-family: 'Courier New', monospace; font-size: 12px; color: #333; margin-bottom: 10px; overflow-x: auto; } .alert-action { color: #000000; font-weight: 600; font-size: 13px; margin-top: 10px; } .alert-action::before { content: '→ '; color: #FFC407; font-weight: 700; } /* Preview Styles */ .file-selector-container { margin-bottom: 20px; padding: 15px; background-color: #f9f9f9; border-radius: 8px; border-left: 4px solid #FFC407; } .file-selector { padding: 10px 15px; border: 2px solid #FFC407; border-radius: 5px; font-family: 'Montserrat', sans-serif; font-size: 14px; color: #000000; background-color: #ffffff; cursor: pointer; min-width: 400px; } .file-selector:focus { outline: none; border-color: #000000; } .preview-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; } .summary-card { background-color: #f9f9f9; padding: 20px; border-radius: 8px; border-left: 4px solid #FFC407; } .summary-label { font-size: 12px; color: #666; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; } .summary-value { font-size: 24px; color: #000000; font-weight: 700; } .preview-table-container { max-height: 500px; overflow: auto; border: 2px solid #FFC407; border-radius: 8px; margin-bottom: 30px; } .preview-table { width: 100%; border-collapse: collapse; font-size: 13px; } .preview-table th { position: sticky; top: 0; background-color: #000000; color: #FFC407; padding: 12px 10px; text-align: left; font-weight: 700; border-bottom: 2px solid #FFC407; z-index: 10; } .preview-table td { padding: 10px; border-bottom: 1px solid #eee; color: #000000; } .preview-table tr:hover { background-color: rgba(255, 196, 7, 0.05); } .preview-actions { display: flex; gap: 15px; justify-content: flex-end; } .action-btn { padding: 12px 24px; border-radius: 5px; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; border: 2px solid; } .download-btn { background-color: #ffffff; color: #000000; border-color: #FFC407; } .download-btn:hover { background-color: #FFC407; color: #000000; } .cancel-btn { background-color: #ffffff; color: #ff4444; border-color: #ff4444; } .cancel-btn:hover { background-color: #ff4444; color: #ffffff; } /* Responsive Design */ @media (max-width: 1024px) { .main-container { grid-template-columns: 1fr; } .preview-column { order: -1; } .preview-actions { flex-direction: column; } .action-btn { width: 100%; } } @media (max-width: 768px) { .page-header { flex-direction: column; gap: 15px; text-align: center; } .form-column, .preview-column { padding: 20px; } .tab-navigation { width: 100%; } .tab { flex: 1; text-align: center; } .preview-summary { grid-template-columns: 1fr; } }