/* --- CSS INTEGRATO --- */
:root {
	--primary-color: #4361ee;
	--primary-dark: #3f37c9;
	--bg-body: #f0f2f5;
	--text-main: #2b3674;
	--text-grey: #a3aed0;
	--white: #ffffff;
	--shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
	--radius: 16px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

body {
	background-color: var(--bg-body);
	color: var(--text-main);
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

/* Container della Card */
.support-card {
	background: var(--white);
	width: 100%;
	max-width: 600px;
	padding: 40px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	position: relative;
	overflow: hidden;
}

/* Header */
.card-header {
	text-align: center;
	margin-bottom: 30px;
}

.card-header h1 {
	font-size: 24px;
	font-weight: 600;
	color: var(--text-main);
	margin-bottom: 10px;
}

.card-header p {
	font-size: 14px;
	color: var(--text-grey);
}

.icon-circle {
	width: 60px;
	height: 60px;
	background: rgba(67, 97, 238, 0.1);
	color: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	margin: 0 auto 20px auto;
}

/* Form Grid */
.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

/* Stili Input */
.form-group {
	margin-bottom: 20px;
}

.full-width {
	grid-column: span 2;
}

label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 8px;
	color: var(--text-main);
}

input,
select,
textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	font-size: 14px;
	background: #f9f9fc;
	outline: none;
	transition: all 0.3s ease;
	font-family: 'Poppins', sans-serif;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--primary-color);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

textarea {
	resize: vertical;
	min-height: 120px;
}

/* Bottone Submit */
.btn-submit {
	width: 100%;
	padding: 14px;
	background: var(--primary-color);
	color: white;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.btn-submit:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-submit:disabled {
	background: var(--text-grey);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Messaggio di Successo (Nascosto di default) */
.success-message {
	display: none;
	text-align: center;
	animation: fadeIn 0.5s ease;
}

.success-icon {
	font-size: 50px;
	color: #38b000;
	margin-bottom: 15px;
	animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ticket-id {
	background: #f0f2f5;
	padding: 10px 20px;
	border-radius: 8px;
	display: inline-block;
	margin-top: 15px;
	font-family: monospace;
	color: var(--text-main);
	font-weight: 600;
	border: 1px dashed #ccc;
}

.btn-back {
	margin-top: 25px;
	background: transparent;
	border: 1px solid #e0e0e0;
	color: var(--text-grey);
}

.btn-back:hover {
	background: #f9f9fc;
	color: var(--text-main);
	border-color: var(--text-grey);
}

/* Animazioni */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes popIn {
	from {
		transform: scale(0);
	}

	to {
		transform: scale(1);
	}
}

/* Responsive */
@media (max-width: 600px) {
	.form-grid {
		grid-template-columns: 1fr;
	}

	.full-width {
		grid-column: span 1;
	}

	.support-card {
		padding: 25px;
		margin-top: 50px !important;
	}

	.logo{
		display: flex;
		justify-content: center;
		align-items: center;
	}
}

.logo {
	position: fixed;
	top: 20px;
	left: 50px;
}

.logo-image {
	height: 30px;
}