/* General CSS */

/* Document Upload Form Styling */
.gaele-upload-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 20px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.gaele-upload-header {
	text-align: center;
	margin-bottom: 40px;
	padding: 30px;
	background: #00b295;
	border-radius: 12px;
	color: white;
	box-shadow: 0 4px 15px rgba(0, 178, 149, 0.2);
}

.gaele-upload-logo {
	max-width: 200px;
	height: auto;
	margin-bottom: 20px;
}

.gaele-upload-header h1 {
	margin: 0 0 10px 0;
	font-size: 28px;
	font-weight: 600;
	color: white;
}

.gaele-company-name {
	font-size: 18px;
	opacity: 0.95;
	font-weight: 500;
}

.gaele-contact-person {
	font-size: 16px;
	opacity: 0.9;
	font-weight: 400;
}


.gaele-upload-form {
	background: white;
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.gaele-form-field {
	margin-bottom: 35px;
	padding: 25px;
	background: rgb(214, 236, 228);
	border-radius: 10px;
	border-left: 4px solid #00b295;
}

.gaele-form-field label {
	display: block;
	font-size: 18px;
	font-weight: 600;
	color: #00b295;
	margin-bottom: 10px;
}

.gaele-field-instructions {
	font-size: 14px;
	color: #555;
	margin-bottom: 15px;
	line-height: 1.6;
	padding: 12px;
	background: white;
	border-radius: 6px;
	border-left: 3px solid #00b295;
}

.gaele-field-instructions strong {
	color: #00b295;
}

.gaele-upload-button {
	display: inline-block;
	padding: 14px 30px;
	background: #00b295;
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 3px 10px rgba(0, 178, 149, 0.3);
}

.gaele-upload-button:hover {
	background: #009d81;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 178, 149, 0.4);
}

.gaele-upload-button:active {
	transform: translateY(0);
}

.gaele-file-input {
	display: none;
}

.gaele-preview-container {
	margin-top: 20px;
	display: none;
	animation: fadeIn 0.3s ease;
}

.gaele-preview-container.active {
	display: block;
}

.gaele-preview-image {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
	margin-bottom: 15px;
}

.gaele-remove-file {
	display: inline-block;
	padding: 8px 20px;
	background: #dc3545;
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.gaele-remove-file:hover {
	background: #c82333;
}

.gaele-submit-button {
	width: 100%;
	padding: 18px;
	background: #00b295;
	color: white;
	border: none;
	border-radius: 10px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 30px;
	box-shadow: 0 4px 15px rgba(0, 178, 149, 0.3);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.gaele-submit-button:hover:not(:disabled) {
	background: #009d81;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 178, 149, 0.4);
}

.gaele-submit-button:disabled {
	background: #ccc;
	cursor: not-allowed;
	box-shadow: none;
}

.gaele-success-message {
	display: none;
	text-align: center;
	padding: 50px 30px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.gaele-success-message.active {
	display: block;
	animation: fadeIn 0.5s ease;
}

.gaele-success-icon {
	width: 80px;
	height: 80px;
	background: #00b295;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px;
	animation: scaleIn 0.5s ease;
}

.gaele-success-icon::before {
	content: "✓";
	font-size: 50px;
	color: white;
	font-weight: bold;
}

.gaele-success-message h2 {
	color: #00b295;
	font-size: 28px;
	margin-bottom: 15px;
}

.gaele-success-message p {
	color: #555;
	font-size: 16px;
	line-height: 1.6;
}

.gaele-loading {
	display: none;
	text-align: center;
	padding: 20px;
}

.gaele-loading.active {
	display: block;
}

.gaele-spinner {
	border: 4px solid rgb(214, 236, 228);
	border-top: 4px solid #00b295;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
	margin: 0 auto;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes scaleIn {
	from {
		transform: scale(0);
	}

	to {
		transform: scale(1);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.gaele-upload-container {
		padding: 20px 15px;
	}

	.gaele-upload-form {
		padding: 25px 20px;
	}

	.gaele-upload-header h1 {
		font-size: 24px;
	}

	.gaele-upload-logo {
		max-width: 120px;
	}

	.gaele-form-field {
		padding: 20px 15px;
	}
}