/* General styles */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding-top: 80px;
    width: 100vw;
    position: relative;
}

.model-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure all elements use border-box */
* {
    box-sizing: border-box;
}

/* Ensure images don't cause overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure tables don't cause overflow */
table {
    width: 100%;
    max-width: 100%;
}

/* Ensure form elements don't cause overflow */
input, select, textarea {
    max-width: 100%;
}

/* Ensure popup content doesn't cause overflow */
.model-profile-popup-content {
    width: 90%;
    max-width: 800px;
    margin: 5vh auto;
    padding: 40px;
    box-sizing: border-box;
}

/* Ensure gallery slider doesn't cause overflow */
.swiper-container {
    width: 100%;
    overflow: hidden;
}

/* Header styles */
.model-profile-header {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.model-profile-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.model-profile-name {
    font-family: 'Playfair Display', serif;
    color: #ffc3f4;
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.model-profile-age-height,
.model-profile-measurements {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin: 5px 0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* Badge styles */
.model-profile-badges {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.model-profile-badge {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.model-profile-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.model-profile-badge-ranking {
    top: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ff61a3, #ff46c1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    animation: pulse 5s infinite ease-in-out;
    font-size: 1.4rem;
    padding: 0;
    max-width: 95vw;
    box-sizing: border-box;
}

.model-profile-badge-cup,
.model-profile-badge-new-face {
    bottom: 45px;
    height: 30px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
    max-width: 95vw;
    box-sizing: border-box;
}

.model-profile-badge-cup {
    left: 220px;
    background: rgba(183, 183, 183, 0.3);
    color: #fff;
}

.model-profile-badge-cup::before {
    content: '\f004';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1rem;
    color: #ff5757;
    opacity: 0.9;
    margin-right: 8px;
}

.model-profile-badge-new-face {
    left: calc(220px + 110px); /* Adjust based on the width of the cup badge */
    background: rgba(255, 255, 255, 0.3);
    color: #ebffa7;
    animation: badge-appear 0.6s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 10px 20px rgba(255, 70, 193, 0.6);
    }
}

@keyframes badge-appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .model-profile-header {
        height: 100vw; /* 1:1 aspect ratio on mobile */
    }

    .model-profile-header-overlay {
        padding: 20px;
    }

    .model-profile-name {
        font-size: 3.5rem;
    }

    .model-profile-age-height,
    .model-profile-measurements {
        font-size: 1rem;
    }

    .model-profile-badge-ranking {
        top: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .model-profile-badge-cup,
    .model-profile-badge-new-face {
        bottom: 10px;
        height: 26px;
        font-size: 0.8rem;
        padding: 0 10px;
    }

    .model-profile-badge-cup {
        left: 10px;
    }

    .model-profile-badge-new-face {
        left: calc(10px + 90px); /* Adjust based on the width of the cup badge */
    }

    .swiper-container {
        max-width: 100vw;
        overflow-x: hidden;
    }
    .swiper-slide {
        max-width: 100vw;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .model-profile-name {
        font-size: 2.5rem;
    }

    .model-profile-age-height,
    .model-profile-measurements {
        font-size: 0.9rem;
    }

    .model-profile-badge-ranking {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .model-profile-badge-cup {
        left: 160px;
    }

    .model-profile-badge-cup,
    .model-profile-badge-new-face {
        bottom: 25px;
        height: 30px;
        height: 24px;
        font-size: 0.7rem;
        padding: 0 8px;
    }

    .model-profile-badge-new-face {
        left: calc(160px + 90px); /* Adjust based on the width of the cup badge */
    }
}

/* About section styles */
.model-profile-about {
    background-color: #fff;
    margin: 40px 0;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.model-profile-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FFC3F4, #ff46c1);
}

.model-profile-about-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.model-profile-about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #f96cca;
}

.model-profile-about-name {
    color: #f96cca;
}

.model-profile-introduction {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 30px;
}

.model-profile-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #ff61a3;
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    border-left: 5px solid #ff61a3;
    background-color: rgba(255, 97, 163, 0.05);
}

.model-profile-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.model-profile-interest {
    background-color: #f0f0f0;
    color: #4a4a4a;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.model-profile-interest:hover {
    background-color: #ff61a3;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 97, 163, 0.3);
}

@media (max-width: 768px) {
    .model-profile-about {
        padding: 30px;
        margin: 30px 0;
    }

    .model-profile-about-title {
        font-size: 2rem;
    }

    .model-profile-introduction {
        font-size: 1rem;
    }

    .model-profile-quote {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .model-profile-about {
        padding: 20px;
        margin: 20px 0;
    }

    .model-profile-about-title {
        font-size: 1.8rem;
    }

    .model-profile-introduction {
        font-size: 0.9rem;
    }

    .model-profile-quote {
        font-size: 1rem;
        padding: 15px;
    }
}

/* Profile Details styles */
.model-profile-detailed {
    background-color: #fff;
    margin: 40px 0;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.model-profile-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FFC3F4, #ff46c1);
}

.model-profile-detailed-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.model-profile-detailed-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #f96cca;
}

.model-profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.model-profile-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.model-profile-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.model-profile-question {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff61a3;
    margin-bottom: 10px;
}

.model-profile-answer {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .model-profile-detailed {
        padding: 25px;
        margin: 25px 0;
    }

    .model-profile-detailed-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .model-profile-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .model-profile-item {
        padding: 15px;
    }

    .model-profile-question {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .model-profile-answer {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .model-profile-detailed {
        padding: 20px;
        margin: 20px 0;
    }

    .model-profile-detailed-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .model-profile-details {
        gap: 10px;
    }

    .model-profile-item {
        padding: 12px;
    }

    .model-profile-question {
        font-size: 0.9rem;
    }

    .model-profile-answer {
        font-size: 0.85rem;
    }
}

/* Schedule styles */
.model-profile-schedule {
    background-color: #fff;
    margin: 40px 0;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.model-profile-schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FFC3F4, #ff46c1);
}

.model-profile-schedule-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.model-profile-schedule-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ff61a3;
}

.model-profile-schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.model-profile-schedule-row {
    transition: all 0.3s ease;
}

.model-profile-schedule-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.model-profile-schedule-date,
.model-profile-schedule-time {
    padding: 15px;
    text-align: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.model-profile-schedule-date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #ff61a3;
    border-radius: 10px 0 0 10px;
    position: relative;
    overflow: hidden;
}

.model-profile-schedule-date::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #ff61a3;
}

.model-profile-schedule-time {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #4a4a4a;
    border-radius: 0 10px 10px 0;
}

.model-profile-reserve-button {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 30px auto 0;
    padding: 15px;
    background: linear-gradient(180deg, #f674de, #ff46c1);
    color: white;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.model-profile-reserve-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(70, 193, 255, 0.4);
}

@media (max-width: 768px) {
    .model-profile-schedule {
        padding: 25px;
        margin: 25px 0;
    }

    .model-profile-schedule-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .model-profile-schedule-date,
    .model-profile-schedule-time {
        padding: 12px;
        font-size: 0.9rem;
    }

    .model-profile-reserve-button {
        padding: 12px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .model-profile-schedule {
        padding: 20px;
        margin: 20px 0;
    }

    .model-profile-schedule-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .model-profile-schedule-date,
    .model-profile-schedule-time {
        padding: 10px;
        font-size: 0.8rem;
    }

    .model-profile-reserve-button {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Blog styles */
.model-profile-blog {
    background-color: #fff;
    margin: 40px 0;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.model-profile-blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(180deg, #f674de, #ff46c1);
}

.model-profile-blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.model-profile-blog-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ff61a3;
}

.model-profile-blog-post {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.model-profile-blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.model-profile-blog-post-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.model-profile-blog-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.model-profile-blog-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.model-profile-blog-content {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.6;
}

.model-profile-show-more-blog {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 30px auto 0;
    padding: 12px 20px;
    background-color: transparent;
    color: #ff61a3;
    border: 2px solid #ff61a3;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.model-profile-show-more-blog:hover {
    background-color: #ff61a3;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 97, 163, 0.4);
}

/* Blog Popup Styles */
.model-profile-blog-popup .model-profile-popup-content {
    max-width: 800px;
}

.model-profile-all-blog-posts .model-profile-blog-post {
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
}

.model-profile-all-blog-posts .model-profile-blog-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .model-profile-blog {
        padding: 25px;
        margin: 25px 0;
    }

    .model-profile-blog-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .model-profile-blog-post-title {
        font-size: 1.3rem;
    }

    .model-profile-blog-content {
        font-size: 0.9rem;
    }

    .model-profile-show-more-blog {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .model-profile-blog {
        padding: 20px;
        margin: 20px 0;
    }

    .model-profile-blog-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .model-profile-blog-post-title {
        font-size: 1.2rem;
    }

    .model-profile-blog-content {
        font-size: 0.85rem;
    }

    .model-profile-show-more-blog {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Reviews styles */
.model-profile-reviews {
    background-color: #fff;
    margin: 40px 0;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.model-profile-reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(180deg, #f674de, #ff46c1);
}

.model-profile-reviews-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.model-profile-reviews-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ff61a3;
}

.model-profile-review {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.model-profile-review:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.model-profile-review-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}

.model-profile-review-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.model-profile-review-rating {
    font-size: 1.2rem;
    color: #ffd700;
    margin-bottom: 10px;
}

.model-profile-review-content {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.6;
}

.model-profile-show-more-reviews {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 30px auto 0;
    padding: 12px 20px;
    background-color: transparent;
    color: #ff61a3;
    border: 2px solid #ff61a3;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.model-profile-show-more-reviews:hover {
    background-color: #ff61a3;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 97, 163, 0.4);
}

/* Reviews Popup Styles */
.model-profile-reviews-popup .model-profile-popup-content {
    max-width: 800px;
}

.model-profile-all-reviews .model-profile-review {
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
}

.model-profile-all-reviews .model-profile-review:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .model-profile-reviews {
        padding: 25px;
        margin: 25px 0;
    }

    .model-profile-reviews-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .model-profile-review-author {
        font-size: 1.2rem;
    }

    .model-profile-review-content {
        font-size: 0.9rem;
    }

    .model-profile-show-more-reviews {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .model-profile-reviews {
        padding: 20px;
        margin: 20px 0;
    }

    .model-profile-reviews-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .model-profile-review-author {
        font-size: 1.1rem;
    }

    .model-profile-review-content {
        font-size: 0.85rem;
    }

    .model-profile-show-more-reviews {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Gallery Slider Styles */
.swiper-container {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
}

.swiper-slide {
    width: 280px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-profile-gallery-image,
.model-profile-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 9/16;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

.video-controls {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
}

/* Play button absolutely centered - with transparency */
.video-control-btn.play-btn {
    position: absolute;
    left: calc(50% - 40px);
    top: calc(50% - 40px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-control-btn.play-btn i {
    font-size: 32px;
}

/* Fullscreen button */
.video-control-btn.fullscreen-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fullscreen-btn:hover {
    background: rgba(255, 97, 163, 0.8);
}

.fullscreen-btn i {
    font-size: 16px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ff61a3;
}

.swiper-pagination-bullet-active {
    background: #ff61a3;
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 240px;
        height: 427px;
    }
}

/* Contact Popup Styles*/
.model-profile-reservation-popup .model-profile-popup-content {
    max-width: 600px;
    padding: 40px;
}

.model-profile-reservation-popup .model-profile-popup-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.model-profile-reservation-popup .contact-methods {
    margin-top: 20px;
}

.model-profile-reservation-popup .contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fafafa;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.model-profile-reservation-popup .contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.model-profile-reservation-popup .contact-icon {
    font-size: 24px;
    color: #555;
    transition: color 0.3s ease, transform 0.3s ease;
}

.model-profile-reservation-popup .contact-method:hover .contact-icon {
    color: #ff70ab;
    transform: rotate(10deg);
}

.model-profile-reservation-popup .contact-title {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.model-profile-reservation-popup .contact-text {
    font-size: 14px;
    color: #777;
}

.model-profile-reservation-popup a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

/* Tablet Styles */
@media (max-width: 768px) {
    .model-profile-reservation-popup .model-profile-popup-content {
        padding: 30px;
        width: 90%;
    }

    .model-profile-reservation-popup .model-profile-popup-title {
        font-size: 1.6rem;
    }

    .model-profile-reservation-popup .contact-method {
        padding: 20px;
    }

    .model-profile-reservation-popup .contact-icon {
        font-size: 28px;
    }

    .model-profile-reservation-popup .contact-title {
        font-size: 18px;
    }

    .model-profile-reservation-popup .contact-text {
        font-size: 16px;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .model-profile-reservation-popup .model-profile-popup-content {
        padding: 20px;
        width: 95%;
    }

    .model-profile-reservation-popup .model-profile-popup-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .model-profile-reservation-popup .contact-method {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
        gap: 10px;
    }

    .model-profile-reservation-popup .contact-icon {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .model-profile-reservation-popup .contact-title {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .model-profile-reservation-popup .contact-text {
        font-size: 16px;
    }

    .model-profile-reservation-popup a {
        width: 100%;
    }
}

/* Extra Small Mobile Styles */
@media (max-width: 360px) {
    .model-profile-reservation-popup .model-profile-popup-title {
        font-size: 1.2rem;
    }

    .model-profile-reservation-popup .contact-icon {
        font-size: 28px;
    }

    .model-profile-reservation-popup .contact-title {
        font-size: 16px;
    }

    .model-profile-reservation-popup .contact-text {
        font-size: 14px;
    }
}

/* Popup styles */
.model-profile-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000; /* Ensure this is higher than your header's z-index */
    overflow-y: auto;
}

.model-profile-popup.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.model-profile-popup-content {
    position: relative !important;
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    margin: 5vh auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.model-profile-popup-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    width: 30px;
    height: 30px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001 !important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    float: none !important;
    margin: 0;
}

.model-profile-popup-close:hover,
.model-profile-popup-close:focus {
    color: #ff61a3;
    text-decoration: none;
    outline: none;
}

.model-profile-popup-title {
    clear: both;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .model-profile-popup-content {
        padding: 30px;
        margin: 3vh auto;
    }

    .model-profile-popup-close {
        font-size: 24px;
    }
}

.model-profile-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f0f0f0;
}

.model-profile-popup-title {
    margin: 0;
    font-size: 1.2em;
}

.model-profile-popup-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

.model-profile-popup-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Additional styles for blog posts and reviews in popups */
.model-profile-popup .model-profile-blog-post,
.model-profile-popup .model-profile-review {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.model-profile-popup .model-profile-blog-post:last-child,
.model-profile-popup .model-profile-review:last-child {
    border-bottom: none;
}

/* Contact Methods Section */
.contact-methods {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Reservation Form Section */
.reservation-form-title {
    font-size: 2rem;
    text-align: center;
    margin: 30px 0;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(90deg, #ffb187, #e521d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reservation-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-section-header {
    font-size: 1.2rem;
    color: #ff61a3;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 97, 163, 0.3);
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #ff61a3;
    box-shadow: 0 0 0 2px rgba(255, 97, 163, 0.2);
}

.form-field input[readonly] {
    background: #f5f5f5;
    cursor: not-allowed;
    border: 1px solid #ddd;
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
}

.reservation-submit-btn {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 30px;
    background: linear-gradient(135deg, #ff61a3, #e521d4);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reservation-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 33, 212, 0.3);
}

.reservation-submit-btn:active {
    transform: translateY(0);
}

/* Required field indicator */
.form-field label::after {
    content: "*";
    color: #ff61a3;
    margin-left: 4px;
}

.form-field label:not([for="special-request"])::after,
.form-field label:not([for="other-location"])::after {
    content: "*";
    color: #ff61a3;
    margin-left: 4px;
}

/* Placeholder styling */
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #999;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .reservation-form {
        padding: 15px;
    }

    .reservation-form-title {
        font-size: 1.8rem;
        margin: 20px 0;
    }

    .form-section-header {
        font-size: 1.1rem;
        margin: 25px 0 15px;
    }

    .form-field {
        margin-bottom: 15px;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 10px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .reservation-form-title {
        font-size: 1.5rem;
    }

    .form-field label {
        font-size: 0.85rem;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 8px;
        font-size: 0.9rem;
    }

    .reservation-submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

/* Update the Radio Group Styles */
.radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 15px 30px; /* 15px vertical gap, 30px horizontal gap */
    margin-top: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid #ddd;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #ff61a3; /* Changes the color of the radio button */
}

.radio-option label {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
}

/* Remove required asterisk from radio options */
.radio-option label::after {
    content: none;
}

/* Mobile Responsive adjustment */
@media (max-width: 480px) {
    .radio-group {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 10px;
        padding: 10px;
    }

    .radio-option {
        padding: 5px 0;
    }

    .radio-option label {
        font-size: 0.9rem;
    }
}

/* General rule to add asterisk */
.form-field label::after {
    content: "*";
    color: #ff61a3;
    margin-left: 4px;
}

/* Remove asterisk for specific fields and radio options */
.form-field label[for="member-id"]::after,
.form-field label[for="options"]::after,
.form-field .radio-option label::after { /* Ensure specificity */
    content: none;
}

/* Update the radio/checkbox group styles */
.radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 15px 30px; /* 15px vertical gap, 30px horizontal gap */
    margin-top: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid #ddd;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

/* Update checkbox styles */
.radio-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #ff61a3; /* Changes the color of the checkbox */
}

.radio-option label {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
}

/* Mobile Responsive adjustment */
@media (max-width: 480px) {
    .radio-group {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 10px;
        padding: 10px;
    }

    .radio-option {
        padding: 5px 0;
    }

    .radio-option label {
        font-size: 0.9rem;
    }
}

/* Remove asterisk from options label */
.form-field label[for="options"]::after {
    content: none;
}

/* Model Profile Specific Header Styles */
.model-profile-section-header {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2rem;
    color: #333;
    width: 100%;
}

/* Remove the generic h2 styling and use specific class names */
.model-profile-about-title,
.model-profile-gallery-title,
.model-profile-detailed-title,
.model-profile-schedule-title,
.model-profile-blog-title,
.model-profile-reviews-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 25px;
    text-align: center;
    width: auto;
    transform: none;
    left: 0;
}

/* Custom underline for model profile headers */
.model-profile-section-header::after,
.model-profile-about-title::after,
.model-profile-gallery-title::after,
.model-profile-detailed-title::after,
.model-profile-schedule-title::after,
.model-profile-blog-title::after,
.model-profile-reviews-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(255,192,203,0) 0%,
        rgba(255,105,180,1) 50%,
        rgba(255,192,203,0) 100%
    );
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .model-profile-section-header {
        font-size: 1.5rem;
    }
}

/* Video controls - removed hover state */
.video-controls {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 3;
    opacity: 1; /* Changed from 0 to 1 */
}

/* Removed hover effect */
.video-container:hover .video-controls {
    opacity: 1;
}

.video-control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.video-control-btn:hover {
    background: rgba(255, 97, 163, 0.8);
    transform: scale(1.1);
}

.video-control-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Fullscreen overlay */
.fullscreen-video-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
}

.fullscreen-video-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-video-container {
    position: relative;
    width: 90vw;
    height: 90vh;
}

.fullscreen-video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close-fullscreen-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.close-fullscreen-btn:hover {
    background: rgba(255, 97, 163, 0.8);
}

/* Manager Introduction Section */
.model-profile-manager-intro {
    padding: 2rem;
    margin: 2rem auto;
    background-color: #fff;
    border-radius: 20px;
    max-width: 1200px;
}

.model-profile-manager-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Pink underline decoration */
.model-profile-manager-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,112,171,1) 50%, rgba(255,255,255,0) 100%);
}

.model-profile-manager-introduction {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .model-profile-manager-intro {
        padding: 1.5rem;
        margin: 1.5rem 1rem;
    }

    .model-profile-manager-title {
        font-size: 1.5rem;
    }

    .model-profile-manager-introduction {
        font-size: 1rem;
    }
}

/* Add fullscreen video styles */
.video-container video:fullscreen {
    object-fit: contain;
    width: auto;
    height: 100vh;
    max-width: none;
}

/* Vendor prefixes for different browsers */
.video-container video:-webkit-full-screen {
    object-fit: contain;
    width: auto;
    height: 100vh;
    max-width: none;
}

.video-container video:-moz-full-screen {
    object-fit: contain;
    width: auto;
    height: 100vh;
    max-width: none;
}

.video-container video:-ms-fullscreen {
    object-fit: contain;
    width: auto;
    height: 100vh;
    max-width: none;
}

/* Reduce padding above h2 titles for model profile page */
.model-profile-container h2 {
    padding-top: 1rem;  /* Reduced from 2.5rem */
    margin-top: 20px;   /* Reduced from 40px */
}


