/**
 * Virtualllabs Visa Portal - Public CSS
 * Professional Immigration Agency Aesthetic
 */

:root {
	--vlp-navy: #1E3A8A;
	--vlp-blue: #2563EB;
	--vlp-blue-light: #EFF6FF;
	--vlp-gold: #D97706;
	--vlp-slate-dark: #1E293B;
	--vlp-slate-body: #475569;
	--vlp-bg-light: #F8FAFC;
	--vlp-border: #E2E8F0;
	--vlp-radius: 8px;
	--vlp-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.vlp-portal-container {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	color: var(--vlp-slate-body);
	background-color: var(--vlp-bg-light);
	padding: 20px;
	border-radius: var(--vlp-radius);
	box-sizing: border-box;
}

.vlp-portal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 15px;
}

.vlp-portal-header h2 {
	margin: 0;
	color: var(--vlp-navy);
	font-size: 22px;
	font-weight: 700;
}

.vlp-portal-header p {
	margin: 5px 0 0;
	color: #64748B;
	font-size: 14px;
}

/* Nav Bar */
.vlp-portal-nav {
	display: flex;
	gap: 10px;
	background: #ffffff;
	padding: 8px;
	border-radius: var(--vlp-radius);
	border: 1px solid var(--vlp-border);
	margin-bottom: 24px;
	overflow-x: auto;
}

.vlp-nav-link {
	padding: 10px 16px;
	text-decoration: none !important;
	color: var(--vlp-slate-body);
	font-weight: 600;
	font-size: 14px;
	border-radius: 6px;
	white-space: nowrap;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.vlp-nav-link:hover {
	background: var(--vlp-blue-light);
	color: var(--vlp-blue);
}

.vlp-nav-link.active {
	background: var(--vlp-navy);
	color: #ffffff;
}

.vlp-count-badge {
	background: #EF4444;
	color: #ffffff;
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 10px;
	margin-left: 4px;
}

/* Cards */
.vlp-card {
	background: #ffffff;
	border: 1px solid var(--vlp-border);
	border-radius: var(--vlp-radius);
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: var(--vlp-shadow);
}

.vlp-hero-card {
	background: linear-gradient(135deg, #1E3A8A 0%, #1E293B 100%);
	color: #ffffff;
	border: none;
}

.vlp-hero-main {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 20px;
}

.vlp-meta-label {
	font-size: 12px;
	letter-spacing: 1px;
	color: #93C5FD;
	font-weight: 700;
}

.vlp-hero-title h1 {
	margin: 4px 0 8px;
	font-size: 26px;
	color: #ffffff;
}

.vlp-app-num {
	margin: 0;
	color: #E2E8F0;
	font-size: 14px;
}

.vlp-badge-group {
	text-align: right;
	margin-bottom: 10px;
}

.vlp-label-sm {
	display: block;
	font-size: 11px;
	color: #93C5FD;
	margin-bottom: 4px;
}

/* Next Step Box */
.vlp-next-step-box {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border-left: 4px solid var(--vlp-gold);
	padding: 16px;
	border-radius: 6px;
	margin-top: 20px;
}

.vlp-next-step-title {
	font-weight: 700;
	font-size: 14px;
	color: #FDE047;
	margin-bottom: 4px;
}

.vlp-next-step-box p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #F8FAFC;
}

/* Grid Layout */
.vlp-grid-4 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}

.vlp-grid-card {
	padding: 20px;
}

.vlp-card-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.vlp-card-header h3 {
	margin: 0;
	font-size: 14px;
	color: #64748B;
	font-weight: 600;
}

.vlp-card-value {
	font-size: 20px;
	font-weight: 700;
	color: var(--vlp-slate-dark);
	margin-bottom: 8px;
}

.vlp-card-sub {
	margin: 0;
	font-size: 12px;
	color: #94A3B8;
}

.vlp-link-sm {
	font-size: 13px;
	color: var(--vlp-blue);
	text-decoration: none;
	font-weight: 600;
}

.vlp-link-sm:hover {
	text-decoration: underline;
}

/* Badges */
.vlp-badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.vlp-badge-primary { background: #DBEAFE; color: #1E40AF; }
.vlp-badge-success { background: #D1FAE5; color: #065F46; }
.vlp-badge-warning { background: #FEF3C7; color: #92400E; }
.vlp-badge-danger { background: #FEE2E2; color: #991B1B; }
.vlp-badge-info { background: #E0F2FE; color: #075985; }
.vlp-badge-purple { background: #F3E8FF; color: #6B21A8; }
.vlp-badge-orange { background: #FFEDD5; color: #9A3412; }
.vlp-badge-cyan { background: #CFFAFE; color: #155E75; }
.vlp-badge-secondary { background: #F1F5F9; color: #475569; }

/* Tables */
.vlp-table-responsive {
	overflow-x: auto;
}

.vlp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	text-align: left;
}

.vlp-table th {
	background: #F1F5F9;
	padding: 12px 16px;
	font-weight: 600;
	color: #334155;
	border-bottom: 1px solid var(--vlp-border);
}

.vlp-table td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--vlp-border);
}

.vlp-visa-type-tag {
	background: #EFF6FF;
	color: #1D4ED8;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
}

/* Buttons */
.vlp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none !important;
	transition: all 0.2s;
	border: none;
}

.vlp-btn-primary {
	background: var(--vlp-navy);
	color: #ffffff !important;
}

.vlp-btn-primary:hover {
	background: var(--vlp-blue);
}

.vlp-btn-secondary {
	background: #E2E8F0;
	color: #334155 !important;
}

.vlp-btn-secondary:hover {
	background: #CBD5E1;
}

.vlp-btn-lg {
	padding: 14px 28px;
	font-size: 16px;
}

.vlp-btn-sm {
	padding: 6px 14px;
	font-size: 12px;
}

.vlp-btn-block {
	width: 100%;
}

/* Modals */
.vlp-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.7);
	backdrop-filter: blur(4px);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.vlp-modal-container {
	background: #ffffff;
	border-radius: 12px;
	max-width: 500px;
	width: 100%;
	padding: 30px;
	position: relative;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.vlp-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #94A3B8;
}

.vlp-modal-header h2 {
	margin: 10px 0 4px;
	font-size: 20px;
	color: var(--vlp-navy);
}

.vlp-modal-sub {
	margin: 0 0 20px;
	font-size: 13px;
	color: #64748B;
}

/* Forms */
.vlp-form-group {
	margin-bottom: 16px;
}

.vlp-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.vlp-form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #334155;
}

.vlp-input, .vlp-input-file {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--vlp-border);
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}

.vlp-input:focus {
	border-color: var(--vlp-blue);
	outline: none;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Tabs inside Modal */
.vlp-tab-nav {
	display: flex;
	border-bottom: 2px solid var(--vlp-border);
	margin-bottom: 20px;
}

.vlp-tab-btn {
	flex: 1;
	padding: 10px;
	background: none;
	border: none;
	font-weight: 600;
	font-size: 14px;
	color: #64748B;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
}

.vlp-tab-btn.active {
	color: var(--vlp-navy);
	border-bottom-color: var(--vlp-navy);
}

/* Alerts */
.vlp-alert {
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	margin-bottom: 16px;
}

.vlp-alert-info { background: #E0F2FE; color: #0369A1; }
.vlp-alert-success { background: #D1FAE5; color: #047857; }
.vlp-alert-warning { background: #FEF3C7; color: #B45309; }
.vlp-alert-danger { background: #FEE2E2; color: #B91C1C; }

/* Timeline Tree */
.vlp-timeline-tree {
	position: relative;
	padding-left: 20px;
}

.vlp-timeline-tree::before {
	content: '';
	position: absolute;
	left: 6px;
	top: 10px;
	bottom: 10px;
	width: 2px;
	background: var(--vlp-border);
}

.vlp-timeline-node {
	position: relative;
	margin-bottom: 20px;
}

.vlp-timeline-marker {
	position: absolute;
	left: -20px;
	top: 4px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--vlp-navy);
	border: 3px solid #ffffff;
	box-shadow: 0 0 0 2px var(--vlp-border);
}

.vlp-timeline-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.vlp-timeline-title {
	font-weight: 700;
	color: var(--vlp-slate-dark);
}

.vlp-timeline-date {
	font-size: 12px;
	color: #94A3B8;
}

.vlp-timeline-body {
	font-size: 13px;
	color: var(--vlp-slate-body);
	margin-top: 4px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
	.vlp-form-row {
		grid-template-columns: 1fr;
	}
	.vlp-hero-main {
		flex-direction: column;
	}
	.vlp-badge-group {
		text-align: left;
	}
}
