/* Our Team Popup - Popup / Modal Styles */

.otp-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease;
	z-index: 100000;
	box-sizing: border-box;
}

.otp-popup-overlay * {
	box-sizing: border-box;
}

.otp-popup-overlay.otp-active {
	opacity: 1;
	visibility: visible;
}
.otp-popup-modal {
    background: #ffffff;
    border-radius: 15px;
    width: 100%;
    max-width: 672px;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s ease;
    padding: 40px;
}

.otp-popup-overlay.otp-active .otp-popup-modal {
	transform: translateY(0) scale(1);
}
.otp-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: transparent !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
    padding: 0;
	box-shadow: none;
}


.otp-popup-loading {
	display: none;
	padding: 60px 20px;
	text-align: center;
	font-size: 15px;
	color: #6b6b6b;
}

.otp-popup-overlay.otp-loading .otp-popup-loading {
	display: block;
}

.otp-popup-overlay.otp-loading .otp-popup-content {
	display: none;
}

.otp-popup-content {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 32px;
    align-items: center;
}

.otp-popup-media {
    overflow: hidden;
    border-radius: 15px;
}

.otp-popup-image {
    width: 100%;
    min-height: 160px;
    object-fit: cover;
    display: block;
}
.otp-popup-designation {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0;
    color: #71717A;
    font-weight: 700;
    line-height: 16px;
}

.otp-popup-name {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #000;
}

.otp-popup-icons {
	margin-bottom: 20px;
}

.otp-popup-icons .otp-icon svg {
	width: 17px;
	height: 17px;
}

.otp-popup-bio {
	font-size: 15px;
	line-height: 1.75;
	color: #3d3d3d;
}

.otp-popup-bio p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 18px !important;
	color: #000000;
}

.otp-popup-bio p:last-child {
	margin-bottom: 0;
}

/* Responsive: stack columns on smaller screens */
@media (max-width: 782px) {
	.otp-popup-content {
		grid-template-columns: 1fr;
	}

.otp-popup-media {
    border-radius: 15px;
    max-width: 128px;
    margin: 0 auto;
}	.otp-popup-name {
		font-size: 22px;
	}
	.otp-popup-modal {
    padding: 40px 16px;
}
}

@media (max-width: 480px) {
	.otp-popup-overlay {
		padding: 12px;
	}

	.otp-popup-modal {
		max-height: 92vh;
		border-radius: 12px;
	}

}
