/* WordPress Import Interface Styles */ .import-form-container { background: white; border: 1px solid #e9ecef; border-radius: 8px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .form-section { margin-bottom: 2rem; } .form-section h3 { margin-bottom: 1.5rem; color: #2c3e50; font-size: 1.25rem; border-bottom: 2px solid #3498db; padding-bottom: 0.5rem; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1rem; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #495057; } .form-group input[type="text"], .form-group input[type="password"] { width: 100%; padding: 0.75rem; border: 1px solid #ced4da; border-radius: 4px; font-size: 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; } .form-group input:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1); } .form-group input::placeholder { color: #6c757d; font-style: italic; } /* Checkbox Styles */ .checkbox-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1rem; } .checkbox-label { display: flex; align-items: center; cursor: pointer; padding: 0.75rem; border: 1px solid #e9ecef; border-radius: 4px; transition: background-color 0.2s ease, border-color 0.2s ease; } .checkbox-label:hover { background-color: #f8f9fa; border-color: #3498db; } .checkbox-label input[type="checkbox"] { display: none; } .checkmark { width: 20px; height: 20px; border: 2px solid #3498db; border-radius: 4px; margin-right: 0.75rem; position: relative; transition: background-color 0.2s ease, border-color 0.2s ease; } .checkbox-label input[type="checkbox"]:checked + .checkmark { background-color: #3498db; border-color: #3498db; } .checkbox-label input[type="checkbox"]:checked + .checkmark::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 14px; font-weight: bold; } /* Form Actions */ .form-actions { display: flex; gap: 1rem; justify-content: flex-start; padding-top: 1.5rem; border-top: 1px solid #e9ecef; } .form-actions .btn { padding: 0.75rem 2rem; border: none; border-radius: 4px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease; text-decoration: none; display: inline-block; } .form-actions .btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); } .form-actions .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; } .btn-primary { background: linear-gradient(135deg, #3498db, #2980b9); color: white; border: 1px solid #2980b9; } .btn-primary:hover:not(:disabled) { background: linear-gradient(135deg, #2980b9, #3498db); } .btn-secondary { background: linear-gradient(135deg, #95a5a6, #7f8c8d); color: white; border: 1px solid #7f8c8d; } .btn-secondary:hover:not(:disabled) { background: linear-gradient(135deg, #7f8c8d, #95a5a6); } /* Import Results */ .import-results { background: white; border: 1px solid #e9ecef; border-radius: 8px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .import-results h3 { margin-bottom: 1.5rem; color: #2c3e50; font-size: 1.25rem; } .success-summary { background: #d4edda; border: 1px solid #c3e6cb; border-radius: 4px; padding: 1rem; margin-bottom: 1.5rem; } .success-message { color: #155724; font-weight: 600; margin: 0; } .error-summary { background: #f8d7da; border: 1px solid #f5c6cb; border-radius: 4px; padding: 1rem; margin-bottom: 1.5rem; } .error-message { color: #721c24; font-weight: 600; margin: 0; } .results-details { margin-bottom: 1.5rem; } .result-item { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; } .result-item h4 { margin-bottom: 0.75rem; color: #495057; font-size: 1rem; } .result-stats { display: flex; gap: 2rem; flex-wrap: wrap; } .stat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; } .stat strong { font-weight: 600; } .stat.success { color: #28a745; } .stat.warning { color: #ffc107; } .stat.error { color: #dc3545; } /* Import Log */ .import-log { margin-bottom: 1.5rem; } .import-log h4 { margin-bottom: 1rem; color: #495057; } .log-container { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 4px; padding: 1rem; max-height: 300px; overflow-y: auto; } .log-entry { display: flex; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid #e9ecef; font-size: 0.875rem; } .log-entry:last-child { border-bottom: none; } .log-time { color: #6c757d; font-family: monospace; white-space: nowrap; } .log-message { color: #495057; flex: 1; } .log-entry.log-error .log-message { color: #dc3545; } .log-entry.log-warning .log-message { color: #ffc107; } .log-entry.log-info .log-message { color: #17a2b8; } /* Import Errors */ .import-errors { margin-bottom: 1.5rem; } .import-errors h4 { margin-bottom: 1rem; color: #dc3545; } .error-list { background: #f8d7da; border: 1px solid #f5c6cb; border-radius: 4px; padding: 1rem; max-height: 200px; overflow-y: auto; } .error-item { color: #721c24; padding: 0.5rem 0; border-bottom: 1px solid #f5c6cb; font-size: 0.875rem; } .error-item:last-child { border-bottom: none; } /* Information Section */ .info-section { background: white; border: 1px solid #e9ecef; border-radius: 8px; padding: 2rem; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .info-section h3 { margin-bottom: 1.5rem; color: #2c3e50; font-size: 1.25rem; border-bottom: 2px solid #3498db; padding-bottom: 0.5rem; } .info-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .info-item { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 4px; padding: 1.5rem; } .info-item h4 { margin-bottom: 1rem; color: #495057; font-size: 1.1rem; } .info-item ul { margin: 0; padding-left: 1.5rem; } .info-item li { margin-bottom: 0.5rem; color: #6c757d; line-height: 1.5; } .info-item li:last-child { margin-bottom: 0; } /* Page Description */ .page-description { color: #6c757d; font-size: 1rem; margin-bottom: 2rem; padding: 1rem; background: #f8f9fa; border-left: 4px solid #3498db; border-radius: 4px; } /* Loading States */ .btn.loading { position: relative; pointer-events: none; } .btn.loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid transparent; border-top: 2px solid currentColor; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Alert Styles */ .alert { padding: 1rem; border-radius: 4px; margin-bottom: 1.5rem; border: 1px solid transparent; } .alert-success { background: #d4edda; color: #155724; border-color: #c3e6cb; } .alert-error { background: #f8d7da; color: #721c24; border-color: #f5c6cb; } .alert-warning { background: #fff3cd; color: #856404; border-color: #ffeaa7; } /* Responsive Design */ @media (max-width: 768px) { .import-form-container, .import-results, .info-section { padding: 1rem; } .form-row { grid-template-columns: 1fr; gap: 1rem; } .checkbox-group { grid-template-columns: 1fr; } .form-actions { flex-direction: column; align-items: stretch; } .form-actions .btn { width: 100%; text-align: center; } .result-stats { flex-direction: column; gap: 0.5rem; } .info-content { grid-template-columns: 1fr; gap: 1rem; } .log-entry { flex-direction: column; gap: 0.25rem; } .log-time { font-size: 0.75rem; } } /* Progress Indicator */ .progress-indicator { width: 100%; height: 8px; background: #e9ecef; border-radius: 4px; overflow: hidden; margin: 1rem 0; } .progress-bar { height: 100%; background: linear-gradient(90deg, #3498db, #2980b9); border-radius: 4px; transition: width 0.3s ease; width: 0%; } /* Status Badges */ .status-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; } .status-badge.success { background: #d4edda; color: #155724; } .status-badge.warning { background: #fff3cd; color: #856404; } .status-badge.error { background: #f8d7da; color: #721c24; } .status-badge.info { background: #d1ecf1; color: #0c5460; }