/**
 * Vendor Registration Styles
 */

.uaeauto-vendor-registration {
	max-width: 600px;
	margin: 0 auto;
	padding: 20px;
}

.uaeauto-registration-header {
	text-align: center;
	margin-bottom: 30px;
}

.uaeauto-registration-header h2 {
	margin-bottom: 10px;
}

.uaeauto-registration-header p {
	color: #666;
}

/* Steps */
.uaeauto-registration-steps {
	display: flex;
	justify-content: center;
	gap: 40px;
	margin-bottom: 30px;
	padding: 20px 0;
	border-bottom: 1px solid #e0e0e0;
}

.uaeauto-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	opacity: 0.5;
}

.uaeauto-step.active {
	opacity: 1;
}

.uaeauto-step.completed {
	opacity: 1;
}

.uaeauto-step .step-number {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e0e0e0;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

.uaeauto-step.active .step-number {
	background: #0073aa;
	color: #fff;
}

.uaeauto-step.completed .step-number {
	background: #46b450;
	color: #fff;
}

.uaeauto-step .step-label {
	font-size: 14px;
	color: #666;
}

/* Form */
.uaeauto-form {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 30px;
}

.uaeauto-form-step {
	display: none;
}

.uaeauto-form-step.active {
	display: block;
}

.uaeauto-form-step h3 {
	margin-top: 0;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e0e0e0;
}

.uaeauto-form-row {
	margin-bottom: 20px;
}

.uaeauto-form-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 600px) {
	.uaeauto-form-row-2 {
		grid-template-columns: 1fr;
	}
}

.uaeauto-form-group {
	display: flex;
	flex-direction: column;
}

.uaeauto-form-group label {
	font-weight: 600;
	margin-bottom: 8px;
}

.uaeauto-form-group label .required {
	color: #dc3545;
}

.uaeauto-form-group input[type="text"],
.uaeauto-form-group input[type="email"],
.uaeauto-form-group input[type="password"],
.uaeauto-form-group input[type="tel"],
.uaeauto-form-group input[type="date"],
.uaeauto-form-group textarea,
.uaeauto-form-group select {
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	width: 100%;
	box-sizing: border-box;
}

.uaeauto-form-group input:focus,
.uaeauto-form-group textarea:focus,
.uaeauto-form-group select:focus {
	border-color: #0073aa;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.uaeauto-form-group input.error,
.uaeauto-form-group textarea.error {
	border-color: #dc3545;
}

.uaeauto-field-error {
	color: #dc3545;
	font-size: 13px;
	margin-top: 5px;
	display: none;
}

.uaeauto-field-error.visible {
	display: block;
}

.uaeauto-field-hint {
	color: #666;
	font-size: 13px;
	margin-top: 5px;
}

/* File Upload */
.uaeauto-file-upload {
	position: relative;
	border: 2px dashed #ddd;
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.3s, background 0.3s;
}

.uaeauto-file-upload:hover {
	border-color: #0073aa;
	background: #f8f9fa;
}

.uaeauto-file-upload.dragover {
	border-color: #0073aa;
	background: #e8f4f8;
}

.uaeauto-file-upload input[type="file"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.uaeauto-file-upload-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: #666;
}

.uaeauto-file-upload-label .dashicons {
	font-size: 40px;
	width: 40px;
	height: 40px;
	color: #0073aa;
}

.uaeauto-file-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #e8f4f8;
	padding: 10px 15px;
	border-radius: 4px;
}

.uaeauto-file-preview .file-name {
	font-weight: 500;
}

.uaeauto-file-preview .remove-file {
	background: #dc3545;
	color: #fff;
	border: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
}

/* Upload Info */
.uaeauto-upload-info {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
}

.uaeauto-upload-info p {
	margin: 0 0 10px;
}

.uaeauto-upload-info ul {
	margin: 0;
	padding-left: 20px;
}

.uaeauto-upload-info li {
	color: #666;
	font-size: 14px;
}

/* Checkbox */
.uaeauto-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-weight: normal;
}

.uaeauto-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
}

/* Buttons */
.uaeauto-form-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

.uaeauto-btn {
	padding: 12px 24px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background 0.3s;
}

.uaeauto-btn-primary {
	background: #0073aa;
	color: #fff;
}

.uaeauto-btn-primary:hover {
	background: #005a87;
	color: #fff;
}

.uaeauto-btn-secondary {
	background: #f0f0f0;
	color: #333;
}

.uaeauto-btn-secondary:hover {
	background: #e0e0e0;
}

.uaeauto-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Messages */
.uaeauto-form-messages {
	margin-top: 20px;
}

.uaeauto-message {
	padding: 15px 20px;
	border-radius: 4px;
	margin-bottom: 15px;
}

.uaeauto-message-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.uaeauto-message-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Footer */
.uaeauto-registration-footer {
	text-align: center;
	margin-top: 20px;
	color: #666;
}

.uaeauto-registration-footer a {
	color: #0073aa;
}

/* Notices */
.uaeauto-notice {
	padding: 20px;
	border-radius: 8px;
	text-align: center;
}

.uaeauto-notice-info {
	background: #e8f4f8;
	border: 1px solid #bee5eb;
}

.uaeauto-notice-warning {
	background: #fff3cd;
	border: 1px solid #ffc107;
}

/* Vendor Status Page */
.uaeauto-vendor-status {
	max-width: 600px;
	margin: 0 auto;
	padding: 20px;
}

.uaeauto-status-header {
	text-align: center;
	margin-bottom: 20px;
}

.uaeauto-status-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	margin-bottom: 30px;
}

.uaeauto-status-badge {
	display: inline-block;
	padding: 8px 20px;
	border-radius: 20px;
	font-weight: 600;
	margin-bottom: 20px;
}

.uaeauto-status-pending {
	background: #fff3cd;
	color: #856404;
}

.uaeauto-status-approved {
	background: #d4edda;
	color: #155724;
}

.uaeauto-status-rejected {
	background: #f8d7da;
	color: #721c24;
}

.uaeauto-status-content {
	padding: 20px 0;
}

.uaeauto-status-icon {
	font-size: 48px;
	margin-bottom: 15px;
}

.uaeauto-status-icon .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #ffc107;
}

.uaeauto-status-icon-success .dashicons {
	color: #28a745;
}

.uaeauto-status-icon-error .dashicons {
	color: #dc3545;
}

.uaeauto-status-actions {
	margin-top: 20px;
}

.uaeauto-rejection-reason {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 4px;
	margin: 15px 0;
	text-align: left;
}

/* Vendor Info */
.uaeauto-vendor-info {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
}

.uaeauto-vendor-info h3 {
	margin-top: 0;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e0e0e0;
}

.uaeauto-info-table {
	width: 100%;
	border-collapse: collapse;
}

.uaeauto-info-table th,
.uaeauto-info-table td {
	padding: 10px;
	text-align: left;
	border-bottom: 1px solid #f0f0f0;
}

.uaeauto-info-table th {
	width: 40%;
	color: #666;
	font-weight: 500;
}

/* Badges */
.uaeauto-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
}

.uaeauto-badge-success {
	background: #d4edda;
	color: #155724;
}

.uaeauto-badge-warning {
	background: #fff3cd;
	color: #856404;
}

.uaeauto-badge-danger {
	background: #f8d7da;
	color: #721c24;
}

.uaeauto-text-danger {
	color: #dc3545;
}

.uaeauto-text-muted {
	color: #6c757d;
}
