/**
 * Client area styles: login, register, dashboard
 */

/* Cards */
.client-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 30px;
	margin-bottom: 30px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.client-card h3 {
	margin-top: 0;
	margin-bottom: 15px;
	color: #333;
}

.client-card-warning {
	border-left: 4px solid #f0ad4e;
	background: #fef9e7;
}

/* Forms */
.client-form .form-group {
	margin-bottom: 20px;
}

.client-form label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	color: #333;
}

.client-form .form-control {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.client-form .form-control:focus {
	border-color: #007bff;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

.client-form .form-text {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #888;
}

.client-form .btn-block {
	display: block;
	width: 100%;
}

.client-form .btn-primary {
	background: #007bff;
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.2s;
}

.client-form .btn-primary:hover {
	background: #0056b3;
}

/* Buttons (general) */
.btn-primary {
	background: #007bff;
	color: #fff !important;
	border: none;
	padding: 8px 20px;
	border-radius: 4px;
	text-decoration: none;
	display: inline-block;
	transition: background 0.2s;
}

.btn-primary:hover {
	background: #0056b3;
	color: #fff;
	text-decoration: none;
}

.btn-default {
	background: #f5f5f5;
	color: #333 !important;
	border: 1px solid #ccc;
	padding: 8px 20px;
	border-radius: 4px;
	text-decoration: none;
	display: inline-block;
	transition: background 0.2s;
}

.btn-default:hover {
	background: #e0e0e0;
	text-decoration: none;
}

.btn-sm {
	padding: 5px 12px;
	font-size: 13px;
}

/* Alerts */
.client-alert {
	padding: 15px 20px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 14px;
}

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

.client-alert-danger {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Status badges */
.client-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.status-pendiente {
	background: #fef3cd;
	color: #856404;
}

.status-en-proceso {
	background: #cce5ff;
	color: #004085;
}

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

.status-requiere-atencion {
	background: #f8d7da;
	color: #721c24;
}

/* Documents table */
.client-documents-table {
	width: 100%;
	border-collapse: collapse;
}

.client-documents-table thead th {
	background: #f8f9fa;
	padding: 12px 15px;
	text-align: left;
	font-weight: 600;
	font-size: 13px;
	color: #555;
	border-bottom: 2px solid #dee2e6;
}

.client-documents-table tbody td {
	padding: 12px 15px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
	vertical-align: middle;
}

.client-documents-table tbody tr:hover {
	background: #f8f9fa;
}

/* Responsive */
@media (max-width: 767px) {
	.client-card {
		padding: 20px;
	}

	.client-documents-table thead {
		display: none;
	}

	.client-documents-table tbody td {
		display: block;
		padding: 8px 15px;
		border-bottom: none;
	}

	.client-documents-table tbody td:before {
		content: attr(data-label);
		font-weight: 600;
		display: block;
		margin-bottom: 3px;
		color: #555;
		font-size: 12px;
	}

	.client-documents-table tbody tr {
		border-bottom: 2px solid #dee2e6;
		margin-bottom: 10px;
		display: block;
		padding: 10px 0;
	}

	.text-right {
		text-align: left !important;
		margin-top: 15px;
	}
}
