:root {
	--danger: #e23b3b;
	--success: #2aa05a;
	--radius: 10px;
}

/* Custom styles for a refined, seamless look */
body {
	font-family: 'Inter', sans-serif;
	background-color: #f8fafc;
	/* slate-50, unified background */
	color: #475569;
	/* slate-600 */
	font-size: 14px;
}

h1,
h2,
h3 {
	color: #1e293b;
	/* slate-800 */
}

h3 {
	font-size: 16px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #e2e8f0;
	/* slate-200 */
}

::-webkit-scrollbar-thumb {
	background: #94a3b8;
	/* slate-400 */
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background: #64748b;
	/* slate-500 */
}

/* Placeholder styling */
::placeholder {
	color: #94a3b8;
	/* slate-400 */
}

/* Smooth animations for modals */
.modal-container.hidden {
	display: none;
}

.modal-container {
	transition: opacity 0.2s ease-in-out;
}

.modal-content {
	transition: transform 0.2s ease-in-out;
}

.modal-container.modal-enter {
	opacity: 0;
}

.modal-container.modal-enter .modal-content {
	transform: scale(0.95);
}

.modal-container.modal-leave {
	opacity: 0;
}

.modal-container.modal-leave .modal-content {
	transform: scale(0.95);
}

.file-container {
	display: none;
	overflow-x: auto;
	white-space: nowrap;
}

.progress-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
	backdrop-filter: blur(5px);
}

.progress-circle {
	width: 50px;
	height: 50px;
	margin: 6px;
	border-radius: 50%;
	background: conic-gradient(#667eea 0deg, #667eea var(--progress), #e0e0e0 var(--progress), #e0e0e0 360deg);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.progress-circle::before {
	content: '';
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: white;
	position: absolute;
}

.progress-text {
	position: relative;
	z-index: 1;
	font-weight: bold;
	color: #333;
	font-size: 0.9em;
}

.error-message {
	background: #ffe6e6;
	color: #d32f2f;
	padding: 15px;
	border-radius: 10px;
	margin: 20px 0;
	border-left: 4px solid #d32f2f;
}

/* Modal Veryfy Email styles */
.modal-code {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	justify-content: center;
	align-items: center;
}

.modal-code-content {
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	width: 33%;
	min-width: 320px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	position: relative;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
}

.modal-code-title {
	font-size: 18px;
	font-weight: bold;
	color: #000;
	margin-bottom: 8px;
}

.modal-code-desc {
	font-size: 14px;
	color: #000;
	margin-bottom: 20px;
}

/* Code input */
.code-inputs {
	display: flex;
	justify-content: space-between;
	gap: 8px;
}

.code-inputs input {
	width: 40px;
	height: 48px;
	text-align: center;
	font-size: 20px;
	border: none;
	border-bottom: 2px solid #000;
	outline: none;
}

/* resend section with spacing */
.resend-section {
	margin-top: 32px;
}

.resend {
	font-size: 14px;
	color: #7a9cc6;
	cursor: not-allowed;
}

.resend.active {
	color: #007bff;
	cursor: pointer;
	text-decoration: underline;
}

/* Verify button */
.verify-btn {
	margin-top: 20px;
	width: 100%;
	padding: 12px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
}
.verify-btn:disabled {
	background: #ccc;
	color: #666;
	cursor: not-allowed;
}
.verify-btn.enabled {
	background: #000;
	color: #fff;
	cursor: pointer;
}
.timer {
	margin-left: 8px;
	color: #666;
}

.toast {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    z-index: 110;
    font-size: 14px;
}