/* Visa Registration Form Styles */
/* Uses root color variables from style.css */

.visa-form-container {
	max-width: 1100px;
	margin: 0 auto;
}

.form-header-box {
	background: var(--color-eggshell);
	border: 2px solid rgba(6, 97, 104, 0.15);
	border-radius: 30px;
	padding: 40px;
	margin-bottom: 30px;
	box-shadow: 0px 4px 30px rgba(6, 97, 104, 0.15);
	position: relative;
}

.logo-section {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 20px;
}

.company-info h1 {
	font-size: 36px;
	font-weight: 800;
	color: var(--primary);
	margin-bottom: 8px;
	font-family: var(--font-title);
	letter-spacing: 0.5px;
}

.company-info p {
	font-size: 13px;
	color: var(--color-emeraldblue);
	font-weight: 600;
	margin: 0;
	line-height: 1.6;
}

.tel-box {
	background: linear-gradient(135deg, var(--primary) 0%, var(--color-emeraldblue) 100%);
	color: white;
	padding: 14px 35px;
	border-radius: 50px;
	text-align: center;
	margin-top: 18px;
	box-shadow: 0px 4px 15px rgba(6, 97, 104, 0.3);
	position: relative;
	overflow: hidden;
}

.tel-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
	transition: left 0.5s;
}

.tel-box:hover::before {
	left: 100%;
}

.tel-box p {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	position: relative;
	z-index: 1;
	color: white;
}

.passport-upload-box {
	border: 3px dashed var(--primary);
	width: 140px;
	height: 170px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #999;
	font-size: 12px;
	position: relative;
	overflow: hidden;
	background: #f9f9f9;
	border-radius: 10px;
	font-weight: 600;
}

.passport-upload-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.registration-title {
	background: linear-gradient(135deg, var(--primary) 0%, var(--color-emeraldblue) 100%);
	color: white;
	text-align: center;
	padding: 18px;
	border-radius: 25px;
	margin-bottom: 30px;
	box-shadow: 0px 6px 25px rgba(6, 97, 104, 0.35);
	border: 3px solid var(--color-citrusyellow);
	position: relative;
	overflow: hidden;
}

.registration-title::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(252, 128, 3, 0.1) 0%, transparent 70%);
	animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { 
		opacity: 1;
		transform: scale(1);
	}
	50% { 
		opacity: 0.8;
		transform: scale(1.05);
	}
}

.registration-title h2 {
	font-size: 24px;
	font-weight: 800;
	color: white;
	text-transform: uppercase;
	margin: 0;
	letter-spacing: 2px;
	position: relative;
	z-index: 1;
	text-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}

.form-main-box {
	background: white;
	border-radius: 30px;
	padding: 45px;
	box-shadow: 0px 4px 80px rgba(6, 97, 104, 0.28);
	border: 1px solid rgba(6, 97, 104, 0.1);
}

.section-heading {
	font-size: 22px;
	font-weight: 800;
	color: var(--primary);
	text-transform: uppercase;
	margin-bottom: 25px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--color-citrusyellow);
	font-family: var(--font-title);
	position: relative;
}

.section-heading::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 80px;
	height: 4px;
	background: var(--color-emeraldblue);
	border-radius: 2px;
}

.form-label {
	font-weight: 600;
	color: var(--color-emeraldblue);
	margin-bottom: 8px;
	display: block;
	font-size: 14px;
}

.form-input, .form-select {
	width: 100%;
	height: 50px;
	padding: 0 20px;
	border: 2px solid rgba(6, 97, 104, 0.2);
	border-radius: 25px;
	font-size: 15px;
	color: var(--color-emeraldblue);
	background: white;
	outline: none;
	transition: all 0.3s;
	font-family: var(--font-base);
}

.form-input:focus, .form-select:focus {
	border-color: var(--color-citrusyellow);
	box-shadow: 0 0 0 3px rgba(252, 128, 3, 0.1);
}

.form-input::placeholder {
	color: var(--color-input);
}

textarea.form-input {
	height: 100px;
	padding: 15px 20px;
	resize: vertical;
	min-height: 80px;
}

.declaration-box {
	background: var(--color-eggshell);
	padding: 30px;
	border-radius: 20px;
	margin: 30px 0;
	border: 2px solid rgba(252, 128, 3, 0.3);
}

.declaration-box h3 {
	text-align: center;
	font-size: 20px;
	font-weight: 800;
	color: var(--primary);
	margin-bottom: 15px;
	text-transform: uppercase;
}

.declaration-box p {
	text-align: center;
	color: var(--color-emeraldblue);
	margin-bottom: 20px;
	font-weight: 500;
}

.office-only-box {
	background: linear-gradient(135deg, #FFF3CD 0%, #FFE69C 100%);
	padding: 25px;
	border-radius: 20px;
	margin-top: 30px;
	border: 2px solid #FFAA0D;
}

.office-only-box h3 {
	text-align: center;
	font-size: 18px;
	font-weight: 800;
	color: var(--primary);
	margin-bottom: 15px;
	text-transform: uppercase;
}

/* Alert Notifications */
.alert {
	padding: 20px 50px 20px 20px;
	border-radius: 16px;
	margin-bottom: 25px;
	display: none;
	font-weight: 600;
	font-size: 16px;
	position: relative;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	animation: slideInDown 0.5s ease-out;
	line-height: 1.6;
}

@keyframes slideInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideOutUp {
	from {
		opacity: 1;
		transform: translateY(0);
	}
	to {
		opacity: 0;
		transform: translateY(-30px);
	}
}

.alert.hiding {
	animation: slideOutUp 0.3s ease-in forwards;
}

.alert i {
	margin-right: 12px;
	font-size: 20px;
	vertical-align: middle;
}

.alert-success {
	background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
	color: #155724;
	border: 2px solid #28a745;
	border-left: 5px solid #28a745;
}

.alert-success i {
	color: #28a745;
}

.alert-error {
	background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
	color: #721c24;
	border: 2px solid #dc3545;
	border-left: 5px solid #dc3545;
}

.alert-error i {
	color: #dc3545;
}

/* Close button for alerts */
.alert-close {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: inherit;
	font-size: 24px;
	cursor: pointer;
	opacity: 0.6;
	transition: all 0.3s;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.alert-close:hover {
	opacity: 1;
	background: rgba(0, 0, 0, 0.1);
	transform: translateY(-50%) rotate(90deg);
}

.form-row {
	display: grid;
	gap: 20px;
	margin-bottom: 20px;
}

.form-row.cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.form-row.cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
	.form-row.cols-2, .form-row.cols-3 {
		grid-template-columns: 1fr;
	}
	.logo-section {
		flex-direction: column;
		align-items: center;
	}
	.passport-upload-box {
		margin-top: 20px;
	}
	.form-main-box {
		padding: 25px;
	}
}

.file-upload-label {
	display: inline-block;
	padding: 12px 30px;
	background: linear-gradient(135deg, var(--color-citrusyellow) 0%, var(--tertiary) 100%);
	color: white;
	border-radius: 25px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s;
	margin-top: 10px;
}

.file-upload-label:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(252, 128, 3, 0.3);
}

.file-upload-label i {
	margin-right: 8px;
}
