/**
 * Public CSS for Tanya Founder by MSL
 * Modern Dark Theme Design
 */

/* CSS Variables */
:root {
	--bg-form: #0a0a0a;
	--input-bg: #111111;
	--accent-purple: #8b5cf6;
	--border-color: #1a1a1a;
	--text-main: #ffffff;
	--text-dim: #94a3b8;
}

/* Form Wrapper */
.tanya-founder-form-wrapper {
	background-color: transparent;
	font-family: "Neue Montreal", -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--text-main);
	max-width: 600px;
	margin: 0;
	padding: 0;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	border-radius: 16px;
}

/* Form Styling */
.tanya-founder-form {
	width: 100%;
}

.tanya-founder-form .form-group {
	margin-bottom: 25px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tanya-founder-form label {
	font-size: 14px;
	font-weight: 400;
	color: var(--text-dim);
	letter-spacing: 0.5px;
	display: block;
}

.tanya-founder-form label .required {
	color: var(--accent-purple);
	margin-left: 2px;
}

/* Input & Dropdown Styling */
.tanya-founder-form select,
.tanya-founder-form textarea {
	background-color: var(--input-bg);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 14px 18px;
	color: var(--text-main);
	font-size: 15px;
	outline: none;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	width: 100%;
}

.tanya-founder-form select:focus,
.tanya-founder-form textarea:focus {
	border-color: var(--accent-purple);
	box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.1);
}

/* Specific to Dropdown */
.tanya-founder-form select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	background-size: 18px;
	cursor: pointer;
}

/* Specific to Textarea */
.tanya-founder-form textarea {
	min-height: 150px;
	resize: vertical;
}

/* Submit Button */
.tanya-founder-submit-btn {
	background-color: #3b82f6; /* Changed to Blue (same as Premium+) */
	color: #ffffff;
	border: none;
	border-radius: 10px;
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
	align-self: flex-start;
}

.tanya-founder-submit-btn:hover {
	background-color: #2563eb; /* Darker Blue on Hover */
	transform: translateY(-1px);
}

.tanya-founder-submit-btn:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

.tanya-founder-submit-btn:active {
	transform: translateY(0);
}

.tanya-founder-submit-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.tanya-founder-submit-btn .btn-loading {
	display: none;
}

.tanya-founder-submit-btn.loading .btn-text {
	display: none;
}

.tanya-founder-submit-btn.loading .btn-loading {
	display: inline;
}

/* Popup Overlay */
.tanya-founder-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 999999;
}

.tanya-founder-popup-overlay.active {
	display: flex;
}

/* Popup Card */
.tanya-founder-popup-card {
	width: 400px;
	height: 450px;
	background-image: url('https://tradewithsuli.com/wp-content/uploads/2026/01/Frame-2147207487.png');
	background-size: cover;
	background-position: center;
	border-radius: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 40px 24px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
	text-align: center;
	color: white;
	animation: popupSlideIn 0.3s ease;
}

.tanya-founder-popup-card.blocked {
	background-image: url('https://tradewithsuli.com/wp-content/uploads/2026/01/Frame-2147207490.png');
}

@keyframes popupSlideIn {
	from {
		opacity: 0;
		transform: scale(0.9) translateY(20px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.tanya-founder-popup-content {
	margin-bottom: 20px;
}

.tanya-founder-popup-content h2 {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 12px;
	line-height: 1.2;
	color: white;
}

.tanya-founder-popup-content p {
	font-size: 14px;
	color: #cccccc;
	line-height: 1.5;
	margin-bottom: 24px;
}

.tanya-founder-popup-timer {
	margin: 20px 0;
	text-align: center;
	color: white;
}

.timer-values {
	display: flex;
	justify-content: center;
	align-items: flex-start; /* Keeps numbers aligned at top */
	gap: 12px; /* Space between numbers and colons */
}

.unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 50px; /* Ensures consistent spacing */
	text-align: center;
}

.number {
	font-size: 32px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: -1px;
}

.separator {
	font-size: 32px;
	font-weight: 200;
	line-height: 1;
	padding-top: 2px; /* Fine-tune colon vertical position */
}

.label {
	margin-top: 10px;
	font-size: 12px;
	color: #888;
	font-weight: 400;
	text-transform: lowercase;
}

/* Popup Button */
.tanya-founder-popup-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px;
	background: linear-gradient(90deg, #2962FF 0%, #90A4FF 100%);
	color: white;
	text-decoration: none;
	font-weight: 700;
	border-radius: 12px;
	transition: transform 0.2s ease, opacity 0.2s ease;
	border: none;
	cursor: pointer;
	font-size: 15px;
}

.tanya-founder-popup-btn:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

.tanya-founder-popup-btn-icon {
	width: 20px;
	height: 20px;
	background: white;
	color: #2962FF;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
	.tanya-founder-form-wrapper {
		width: 100%;
		padding: 10px;
	}
	
	.tanya-founder-form select,
	.tanya-founder-form textarea {
		font-size: 16px; /* Prevent zoom on iOS */
	}
	
	.tanya-founder-submit-btn {
		width: 100%;
	}
	
	.tanya-founder-popup-card {
		width: 90%;
		max-width: 400px;
		height: auto;
		min-height: 400px;
	}
}

/* Loading Animation */
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.tanya-founder-submit-btn.loading::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 8px;
	border: 2px solid #000000;
	border-top-color: transparent;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
	vertical-align: middle;
}
