.smsclub-otp-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

.smsclub-otp-modal-active {
	overflow: hidden;
	position: fixed;
	width: 100%;
	height: 100vh;
}

.smsclub-otp-modal-active .modal-login {
	display: none !important;
}

@media (max-width: 768px) {
	.smsclub-otp-modal-active {
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	
	.smsclub-otp-modal {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		z-index: 9999 !important;
	}
	
	.smsclub-otp-modal-content {
		position: fixed !important;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%) !important;
		width: 90% !important;
		max-width: 400px !important;
		max-height: 90vh !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
	}
}

.smsclub-otp-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.smsclub-otp-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 5px 40px rgba(0, 0, 0, 0.3);
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
}

.smsclub-otp-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	color: #999;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
}

.smsclub-otp-modal-close:hover {
	color: #333;
}

.smsclub-otp-modal-body {
	padding: 30px;
}

.smsclub-otp-form {
	max-width: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.smsclub-otp-form h3 {
	margin-top: 0;
	margin-bottom: 25px;
	font-size: 24px;
	color: #333;
	text-align: center;
}

.smsclub-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.smsclub-form .form-group {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.smsclub-form label {
	font-weight: 600;
	color: #333;
	font-size: 14px;
}

.smsclub-form input {
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.3s ease;
	background: #fff;
	color: #333;
	width: 100%;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}

.smsclub-form input:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.smsclub-form input[type="tel"] {
	font-size: 16px;
}

.smsclub-phone-input {
	letter-spacing: 1px;
}

.smsclub-form input::placeholder {
	color: #999;
}

.smsclub-form small {
	font-size: 12px;
	color: #666;
}

.smsclub-form .checkbox-group {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 15px 0;
}

.smsclub-form .checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.5;
	color: #333;
}

.smsclub-form .checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin-top: 2px;
	cursor: pointer;
	accent-color: #0073aa;
}

.smsclub-form .checkbox-label a {
	color: #0073aa;
	text-decoration: none;
}

.smsclub-form .checkbox-label a:hover {
	text-decoration: underline;
}

.smsclub-form .otp-timer {
	font-size: 12px;
	color: #ff6b6b;
	font-weight: 500;
}

.smsclub-form button {
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.smsclub-form .btn-primary {
	background-color: #0073aa;
	color: white;
}

.smsclub-form .btn-primary:hover:not(:disabled) {
	background-color: #005a87;
	box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.smsclub-form .btn-primary:disabled {
	background-color: #ccc;
	cursor: not-allowed;
	opacity: 0.6;
}

.smsclub-form .btn-secondary {
	background-color: #f0f0f0;
	color: #333;
	border: 1px solid #ddd;
}

.smsclub-form .btn-secondary:hover:not(:disabled) {
	background-color: #e0e0e0;
}

.smsclub-form .btn-secondary:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.smsclub-otp-section {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

.smsclub-otp-section p {
	text-align: center;
	color: #666;
	margin-bottom: 15px;
	font-size: 14px;
}

.smsclub-message {
	display: none;
	padding: 15px;
	margin-bottom: 15px;
	border-radius: 4px;
	font-size: 14px;
	text-align: center;
}

.smsclub-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.smsclub-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.smsclub-message.info {
	background-color: #d1ecf1;
	color: #0c5460;
	border: 1px solid #bee5eb;
}

/* Responsive Design */
@media (max-width: 768px) {
	.smsclub-otp-form {
		padding: 20px;
		margin: 15px;
	}

	.smsclub-otp-form h3 {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.smsclub-form input {
		padding: 10px 12px;
		font-size: 16px;
	}

	.smsclub-form button {
		padding: 10px 15px;
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.smsclub-otp-form {
		padding: 15px;
		margin: 10px;
		border-radius: 4px;
	}

	.smsclub-otp-form h3 {
		font-size: 18px;
		margin-bottom: 15px;
	}

	.smsclub-form {
		gap: 12px;
	}

	.smsclub-form input {
		padding: 10px;
		font-size: 16px;
	}

	.smsclub-form button {
		padding: 10px;
		font-size: 12px;
	}
}

/* Loading state */
.smsclub-form button:disabled {
	opacity: 0.7;
}

/* Input number spinner removal */
input[type="tel"]::-webkit-outer-spin-button,
input[type="tel"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

input[type="tel"][type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}
