* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(135deg, #5fbcff 0%, #9cd6ff 100%);
	min-height: 100vh;
	padding: 20px;
}

.container {
	max-width: 900px;
	margin: 0 auto;
}

header {
	text-align: center;
	color: white;
	margin-bottom: 40px;
	animation: slideDown 0.6s ease-out;
}

header h1 {
	font-size: 3em;
	font-weight: 300;
	letter-spacing: 2px;
	margin-bottom: 10px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header p {
	font-size: 1.1em;
	opacity: 0.95;
	letter-spacing: 1px;
}

.main-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.card {
	background: white;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	padding: 40px;
}

.card h2 {
	color: #667eea;
	font-size: 1.5em;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.form-group {
	margin-bottom: 20px;
}

label {
	display: block;
	margin-bottom: 8px;
	color: #555;
	font-weight: 500;
	font-size: 0.95em;
}

input[type="text"],
input[type="email"],
textarea {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 1em;
	font-family: inherit;
	transition: all 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea {
	resize: vertical;
	min-height: 80px;
}

button {
	width: 100%;
	background: linear-gradient(135deg, #4cb1fa 0%, #9cd6ff 100%);
	color: white;
	padding: 14px;
	border: none;
	border-radius: 8px;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 10px;
}

button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

button:active {
	transform: translateY(0);
}

.status {
	margin-top: 15px;
	padding: 12px 15px;
	border-radius: 8px;
	font-size: 0.9em;
	display: none;
	animation: slideUp 0.4s ease-out;
}

.status.show {
	display: block;
}

.status.success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.status.error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.signatures-container {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 600px;
	overflow-y: auto;
	padding-right: 10px;
}

.signatures-container::-webkit-scrollbar {
	width: 8px;
}

.signatures-container::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.signatures-container::-webkit-scrollbar-thumb {
	background: #667eea;
	border-radius: 10px;
}

.signatures-container::-webkit-scrollbar-thumb:hover {
	background: #764ba2;
}

.signature {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	padding: 15px 20px;
	border-radius: 10px;
	border-left: 4px solid #667eea;
	animation: slideIn 0.4s ease-out;
	transition: all 0.3s;
}

.signature:hover {
	transform: translateX(5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.signature-name {
	font-weight: 600;
	color: #667eea;
	font-size: 1.05em;
	margin-bottom: 4px;
}

.signature-email {
	color: #999;
	font-size: 0.9em;
	word-break: break-all;
}

.signature-time {
	color: #bbb;
	font-size: 0.8em;
	margin-top: 6px;
}

.signature-message {
	color: #666;
	font-size: 0.95em;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid rgba(102, 126, 234, 0.2);
	font-style: italic;
	line-height: 1.4;
}

.loading {
	text-align: center;
	color: #667eea;
	font-weight: 500;
	padding: 20px;
}

.no-signatures {
	text-align: center;
	color: #999;
	padding: 40px 20px;
	font-style: italic;
}

.count {
	background: #667eea;
	color: white;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.85em;
	font-weight: 600;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@media (max-width: 768px) {
	.main-content {
		grid-template-columns: 1fr;
	}

	header h1 {
		font-size: 2em;
	}

	.card {
		padding: 25px;
	}

	.signatures-container {
		max-height: 400px;
	}
}