main.main-content select { width: 100%; padding: 10px 15px; border: 2px solid #e9ecef; border-radius: 8px; font-size: 1rem; transition: all 0.3s ease; background: white; } .page-title { text-align: center; color: white; margin-bottom: 0px; padding: 20px 0; } .page-title h1 { font-size: 2.5rem; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); color: #000; } .page-title p { font-size: 1.1rem; opacity: 0.9; color: #000; } .main-content { background: white; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); overflow: hidden; } .upload-section { padding: 10px; background: #f8f9fa; border-bottom: 1px solid #e9ecef; } .upload-area { border: 3px dashed #667eea; border-radius: 15px; padding: 60px 40px; text-align: center; transition: all 0.3s ease; cursor: pointer; background: white; } .upload-area:hover { border-color: #764ba2; background: #f8f9ff; transform: translateY(-2px); } .upload-area.dragover { border-color: #764ba2; background: #f0f4ff; transform: scale(1.02); } .upload-icon { font-size: 4rem; color: #667eea; margin-bottom: 20px; } .upload-text { font-size: 1.2rem; color: #000; margin-bottom: 10px; } .upload-subtext { color: #000; font-size: 0.9rem; margin: 0; } input[type="file"] { display: none; } .settings-section { padding: 40px; display: none; } .settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .setting-group { background: #f8f9fa; padding: 25px; border-radius: 12px; border: 1px solid #e9ecef; } .setting-group h3 { font-size: 1.1rem; margin-bottom: 15px; color: #495057; display: flex; align-items: center; gap: 10px; } .setting-group h3 i { color: #667eea; } .form-group { margin-bottom: 15px; } label { display: block; margin-bottom: 5px; font-weight: 500; color: #495057; font-size: 0.9rem; } select, input[type="number"], input[type="text"] { width: 100%; padding: 10px 15px; border: 2px solid #e9ecef; border-radius: 8px; font-size: 1rem; transition: all 0.3s ease; background: white; } select:focus, input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } .radio-group { display: flex; gap: 15px; flex-wrap: wrap; } .radio-option { display: flex; align-items: center; gap: 5px; cursor: pointer; padding: 8px 15px; border: 2px solid #e9ecef; border-radius: 8px; transition: all 0.3s ease; } .radio-option:hover { border-color: #667eea; background: #f8f9ff; } .radio-option input[type="radio"] { margin: 0; } .radio-option input[type="radio"]:checked + label { color: #667eea; font-weight: 600; } .radio-option:has(input[type="radio"]:checked) { border-color: #667eea; background: #f8f9ff; } .preview-section { padding: 40px; display: none; background: #f8f9fa; border-top: 1px solid #e9ecef; } .preview-container { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); } .preview-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; } .preview-header h3 { color: #495057; } .preview-controls { display: flex; align-items: center; gap: 15px; } .preview-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; max-height: 500px; overflow-y: auto; padding: 10px; border: 1px solid #e9ecef; border-radius: 8px; } .preview-page { position: relative; border: 2px solid #e9ecef; border-radius: 8px; overflow: hidden; background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: transform 0.2s ease; } .preview-page:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.15); } .preview-page canvas { display: block; width: 100%; height: auto; } .preview-page-number { position: absolute; background: rgba(102, 126, 234, 0.9); color: white; padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; z-index: 10; } .preview-page-loading { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; z-index: 5; } .preview-page-loading i { font-size: 2rem; color: #667eea; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .pagination { display: flex; align-items: center; gap: 10px; margin-top: 20px; justify-content: center; } .pagination button { padding: 8px 12px; border: 1px solid #e9ecef; background: white; border-radius: 6px; cursor: pointer; transition: all 0.2s ease; } .pagination button:hover:not(:disabled) { background: #f8f9ff; border-color: #667eea; } .pagination button:disabled { opacity: 0.5; cursor: not-allowed; } .pagination button.active { background: #667eea; color: white; border-color: #667eea; } .page-info { color: #666; font-size: 0.9rem; } .action-buttons { display: flex; gap: 15px; justify-content: center; padding: 30px; background: white; } .btn { padding: 12px 30px; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; } .btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3); } .btn-secondary { background: #e9ecef; color: #495057; } .btn-secondary:hover { background: #dee2e6; } .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; } .progress-bar { position: fixed; top: 0; left: 0; width: 100%; height: 4px; background: #667eea; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; z-index: 1000; } .progress-bar.active { transform: scaleX(1); } .toast { position: fixed; bottom: 30px; right: 30px; background: white; padding: 20px 30px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 15px; transform: translateX(400px); transition: transform 0.3s ease; z-index: 1000; } .toast.show { transform: translateX(0); } .toast.success { border-left: 4px solid #28a745; } .toast.error { border-left: 4px solid #dc3545; } .toast i { font-size: 1.5rem; } .toast.success i { color: #28a745; } .toast.error i { color: #dc3545; } .error-message { background: #f8d7da; color: #721c24; padding: 15px; border-radius: 8px; margin-top: 20px; display: none; } .preview-size-control { display: flex; align-items: center; gap: 10px; } .preview-size-control label { margin: 0; font-size: 0.9rem; } .preview-size-control input[type="range"] { width: 100px; } @media (max-width: 768px) { .page-title h1 { font-size: 25px; } .upload-area { border-radius: 15px; padding: 20px 20px; } .upload-section { padding-bottom: 38px; padding: 9px; } .settings-grid { grid-template-columns: 1fr; } .preview-pages { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } .action-buttons { flex-direction: column; } .btn { width: 100%; justify-content: center; } .preview-controls { flex-direction: column; align-items: flex-start; } }