/* Samro Intake Frontend Styles */

:root {
	--si-primary: #1e73be;
	--si-error: #d32f2f;
	--si-success: #2e7d32;
	--si-bg-light: #f5f5f5;
	--si-border: #ddd;
	--si-text: #333;
	--si-text-light: #666;
}

.si-intake-wrap {
	width: 100%;
	margin: 1rem 0;
	color: var(--si-text);
}

/* Form */
.si-form {
	background: white;
	border: 1px solid var(--si-border);
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Instruction text */
.si-instruction {
	margin: 0 0 1.5rem;
	font-size: 14px;
	color: var(--si-text-light);
	line-height: 1.5;
}

.si-form-group {
	margin-bottom: 1.5rem;
}

.si-form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	font-size: 14px;
}

.si-form-group input[type="email"],
.si-form-group input[type="text"],
.si-form-group input[type="tel"],
.si-form-group input[type="number"] {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--si-border);
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.si-form-group input[type="email"]:focus,
.si-form-group input[type="text"]:focus,
.si-form-group input[type="tel"]:focus,
.si-form-group input[type="number"]:focus {
	outline: none;
	border-color: var(--si-primary);
	box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.1);
}

/* Checkbox + terms label */
.si-terms-group label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 400;
	cursor: pointer;
	flex-wrap: wrap;
}

.si-terms-group input[type="checkbox"] {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	cursor: pointer;
	margin: 0;
}

/* Error Message */
.si-error {
	display: block;
	color: var(--si-error);
	font-size: 13px;
	margin-top: 0.5rem;
}

/* Student Details */
.si-student-details {
	background: var(--si-bg-light);
	border-left: 4px solid var(--si-primary);
	padding: 1rem;
	margin-bottom: 1.5rem;
	border-radius: 4px;
}

.si-student-details p {
	margin: 0.5rem 0;
	font-size: 14px;
}

.si-student-details p:first-child {
	margin-top: 0;
}

.si-student-details p:last-child {
	margin-bottom: 0;
}

.si-student-details strong {
	color: var(--si-text);
}

/* Terms link */
.si-link {
	color: var(--si-primary);
	text-decoration: underline;
	cursor: pointer;
	font-size: inherit;
	font-weight: 400;
}

.si-link:hover {
	color: #1560a0;
}

/* Next Button */
.si-next-btn {
	width: 100%;
	color: white;
	border: none;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s;
}

.si-next-btn:hover {
	background-color: #1560a0;
}

.si-next-btn:active {
	transform: scale(0.98);
}

.si-next-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Submit Button */
.si-submit-btn {
	width: 100%;
	color: white;
	border: none;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s;
}

.si-submit-btn:hover {
	background-color: #1560a0;
}

.si-submit-btn:active {
	transform: scale(0.98);
}

.si-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Success Message */
#si-success {
	background: var(--si-success);
	color: white;
	padding: 1.5rem 2rem;
	border-radius: 8px;
	text-align: center;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.6;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Modal */
.si-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999999;
	overflow: auto;
}

.si-modal.show {
	display: block;
}

.si-modal-content {
	background: white;
	margin: 0;
	padding: 2rem;
	border-radius: 8px;
	max-width: 600px;
	position: relative;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.si-modal-content li{padding-bottom: 10px!important}
.si-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 28px;
	font-weight: bold;
	color: var(--si-text-light);
	cursor: pointer;
	transition: color 0.2s;
}

.si-modal-close:hover {
	color: var(--si-text);
}

.si-modal-body {
	line-height: 1.6;
}

.si-modal-agree-btn {
	display: block;
	width: 100%;
	margin-top: 2rem;
	color: white;
	border: none;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s;
}

.si-modal-agree-btn:hover {
	background-color: #1560a0;
}

.si-modal-agree-btn:active {
	transform: scale(0.98);
}

/*Hide Course Page Elements*/
body.postid-65088 .subscription-message.holder,
body.postid-65088 .masterstudy-single-course-modern__buttons,
body.postid-65088 .masterstudy-single-course-details {display: none!important}
body.postid-65088 .masterstudy-single-course-modern .masterstudy-single-course-widgets {margin-top: 0px!important}

/* Responsive */
@media (max-width: 600px) {
	.si-form {
		padding: 1.5rem;
	}

	.si-modal-content {
		margin: 1rem;
		padding: 1.5rem;
	}
}
