.profile-hero {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.dashboard-profile-detail-card .profile-hero-image {
    width: 30%;
    border-radius: 1rem;
    border: 2px solid var(--gold-dark);
}

.profile-hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--gold-light);
    text-transform: capitalize;
}

.profile-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.profile-hero-stats {
    display: flex;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    row-gap: 20px;
}

.profile-hero-stats .stat-item {
    display: flex;
    flex-direction: column;
}

.profile-hero-stats .label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-hero-stats .value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-light);
}

.interested-icon {
    vertical-align: text-bottom;
}

.video-thumbnail {
    filter: brightness(0.6);
}

.media-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.media-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.model-dashboard-page .media-card:hover img,
.model-dashboard-page .media-card:hover video {
    transform: scale(1.03);
    border: solid 2px var(--gold-light);
}

.play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hire-modal-dark {
    backdrop-filter: blur(6px);
}

.hire-modal-dark .modal-dialog {
    max-width: 650px;
    width: 92%;
}

.hire-modal-dark .modal-content {
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    border: 1px solid rgba(228, 186, 55, 0.35);
    border-radius: 24px;
    box-shadow:
        0 0 40px rgba(228, 186, 55, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.65);
    overflow: hidden;
}

.hire-modal-dark .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hire-modal-dark .modal-title {
    color: var(--gold-light);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.hire-modal-dark .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: 0.3s ease;
}

.hire-modal-dark .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.hire-modal-dark .modal-body {
    padding: 1rem 0.5rem;
}

.hire-modal-dark .fancy-field,
.hire-modal-dark .fancy-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 8px 10px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.hire-modal-dark textarea.fancy-field {
    min-height: 120px;
    resize: none;
}

.hire-modal-dark .fancy-field::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.hire-modal-dark .fancy-field:focus,
.hire-modal-dark .fancy-select:focus {
    border-color: var(--gold-dark);
    background: rgba(228, 186, 55, 0.06);
    box-shadow: 0 0 0 4px rgba(228, 186, 55, 0.12);
}

.hire-modal-dark select option {
    background: #111;
    color: #fff;
}

.hire-modal-dark .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hire-modal-dark .radiant_btn {
    background: linear-gradient(135deg, #f5d86a 0%, #d8aa1c 100%);
    border: none;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(228, 186, 55, 0.18);
}

.hire-modal-dark .radiant_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(228, 186, 55, 0.28);
}

.hire-modal-dark.fade .modal-dialog {
    transform: translateY(20px) scale(0.96);
    transition: all 0.3s ease;
}

.hire-modal-dark.show .modal-dialog {
    transform: translateY(0) scale(1);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.dashboard-profile-detail-card .media-panel .media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dashboard-profile-detail-card .media-panel .media-grid .media-card {
    flex: 0 0 30%;
    overflow: hidden;
    min-height: unset;
    height: auto !important;
}

.dashboard-profile-detail-card .media-card img {
    height: 250px;
    object-position: top;
}

.dashboard-profile-detail-card .stat-wrapper {
    display: flex;
    flex-direction: row;
    gap: 18px;
    padding-right: 20px;
    padding-left: 20px;
    border-right: 1px solid var(--border);
}

.profile-hero-stats> :first-child {
    padding-left: 0px;
}

.profile-hero-stats> :last-child {
    border-right: none !important;
    padding-right: 0px !important;
}

.dashboard-profile-detail-card .stat-wrapper .stat-image {
    display: flex;
    align-items: center;
}

.dashboard-profile-detail-card .stat-wrapper .stat-image img {
    width: 35px;
    height: 35px;
}

.flatpickr-current-month {
    padding: 0px;
}

.profile-favorite-action {
    position: absolute;
    right: 28px;
    left: auto;
    top: 20px;
}

@media (max-width: 991px) {
    .profile-hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .profile-hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .profile-content-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-profile-detail-card .media-panel .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dashboard-profile-detail-card .media-card img{
        height: 400px;
    }
}

@media (max-width: 767px) {
    .dashboard-profile-detail-card .media-panel .media-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {

    .hire-modal-dark .modal-content {
        border-radius: 18px;
        padding: 8px;
    }

    .hire-modal-dark .modal-title {
        font-size: 22px;
    }

    .hire-modal-dark .fancy-field,
    .hire-modal-dark .fancy-select {
        padding: 13px 14px;
        font-size: 14px;
    }

    .hire-modal-dark .radiant_btn {
        width: 100%;
    }
}

/* css for the profile details */

.dashboard-profile-detail-card .profile-details.profile-details-content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.dashboard-profile-detail-card .detail-item {
    width: 100%;
    flex-direction: row;
    gap: 15px;
    flex: 1 1 calc(25% - 15px);
}

.dashboard-profile-detail-card .detail-content {
    display: flex;
    flex-direction: column;
}

.detail-image {
    display: flex;
    align-items: center;
}

.detail-image img {
    width: 35px;
    height: fit-content;
}

.media-column {
    display: flex;
    gap: 20px;
}

.media-column>* {
    flex: 1;
}

/* for the slider  */

.main-preview img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    border-radius: 12px;
    object-position: top;
}

.thumb-slider {
    margin-top: 15px;
}

.thumb-slider .swiper-slide {
    cursor: pointer;
}

.thumb-slider .swiper-slide img {
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    object-position: top;
}

.thumb-gallery-wrap {
    position: relative;
    margin-top: 25px;
    padding: 0 50px;
}

.thumb-prev,
.thumb-next {
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 20;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.thumb-prev::after,
.thumb-next::after {
    font-size: 16px;
    color: #f2d46b;
}

.thumb-prev {
    left: 0;
}

.thumb-next {
    right: 0;
}

.dashboard-profile-detail-card .profile-gallery {
    width: 40%;
}

.dashboard-profile-detail-card .model-details {
    width: 60%;
    margin-top: 20px;
}

.dashboard-profile-detail-card .profile-content {
    margin-bottom: 18px;
}

.dashboard-profile-detail-card .countryflag {
    font-size: 25px !important;
}

.swiper-wrapper .active {
    border: 1px solid var(--gold-light);
    border-radius: 8px;
}

@media (max-width: 991px) {
    .dashboard-profile-detail-card .profile-details.profile-details-content .detail-item {
        flex: 1 1 calc(50% - 15px);
    }

    .profile-gallery {
        width: 100% !important;
    }

    .dashboard-profile-detail-card .model-details {
        width: 100%;
    }
    .profile-hero .model-details .profile-hero-content .profile-hero-subtitle .value{
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .dashboard-profile-detail-card .profile-details.profile-details-content .detail-item {
        flex: 1 1 100%;
    }

    .media-column {
        flex-direction: column;
        gap: 0px;
    }

    .media-column>* {
        width: 100%;
    }
}

/* style for experience*/

.agency-profile-panel {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 18px;
}

.agency-experience-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 0.9fr);
    gap: 44px;
    margin-bottom: 20px;
}

.agency-experience-grid:last-child {
    margin-bottom: 0px;
}

.agency-experience-column {
    min-width: 0;
}

.agency-panel-title {
    margin: 0 0 22px;
    color: var(--gold-light);
    font-size: 20px;
    font-weight: 700;
}

.agency-experience-timeline {
    position: relative;
    display: grid;
    gap: 30px;
}

.agency-experience-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 16px;
    width: 1px;
    background: rgba(216, 186, 76, 0.45);
}

.agency-experience-item {
    position: relative;
    display: grid;
    grid-template-columns: 34px 72px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.agency-experience-dot {
    position: relative;
    z-index: 1;
    width: 12px;
    height: 12px;
    margin: 4px 0 0 10px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 0 4px rgba(216, 186, 76, 0.12);
}

.agency-experience-year {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    font-weight: 600;
}

.agency-experience-content h4 {
    margin: 0 0 5px;
    color: var(--light);
    font-size: 15px;
    font-weight: 700;
}

.agency-experience-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.55;
}

.agency-side-column {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 36px;
}

.agency-side-block+.agency-side-block {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.agency-side-list {
    margin: 0;
    padding: 0 0 0 18px;
    color: var(--light);
}

.agency-side-list li {
    margin-bottom: 8px;
    padding-left: 6px;
}

.agency-side-list li::marker {
    color: var(--gold-light);
}

.agency-language-text {
    color: var(--light);
    font-size: 14px;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.single-language {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
}

.model_profile_message {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.model_profile_message img {
    height: fit-content;
    width: 35px;
    height: 30px;
}

@media (max-width: 767px) {
    .agency-profile-panel {
        padding: 20px;
    }

    .agency-experience-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .agency-side-column {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-left: 0;
        padding-top: 24px;
    }

    .agency-experience-item {
        grid-template-columns: 30px 58px minmax(0, 1fr);
        gap: 12px;
    }
}


.model_profile_message.status_pending {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.status_icon img {
    width: 42px;
    height: 42px;
}

.status_text {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.status_text p {
    font-style: italic;
    margin-bottom: 0px;
}

.agency-modal-detail .status-badge {
    width: fit-content;
    margin-bottom: 0px;
}

.agency-modal-detail .status-badge::before {
    content: unset !important;
}

.message_link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    width: fit-content;
    transition: 0.3s ease;
}

.message_link:hover {
    border-color: #f2d46b;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.message_icon img {
    width: 20px;
    height: 20px;
    filter: brightness(1.2);
}

.message_text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.model_profile_hire.disabled {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    flex-direction: row;
    flex-wrap: nowrap;
}

.model_profile_hire.disabled img {
    width: 42px;
    height: 42px;
}

.model_profile_hire.disabled .text-muted {
    color: var(--gold-light) !important;
    background: rgba(215, 179, 65, 0.1);
    border: 1px solid rgba(215, 179, 65, 0.2);
    width: fit-content;
    margin-bottom: 0px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.model_profile_hire.disabled p {
    font-style: italic;
    margin-bottom: 0px;
}

.profile-gallery img.plan-logo {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain;
    border-radius: 50px;
    left: 45px !important;
    top: 45px !important;
}

.favorite-btn {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.favorite-btn.active {
    color: #ff0000;
}

.favorite-btn.disabled {
    pointer-events: none;
    cursor: default;
}

@media (max-width: 767px) {
    .profile-gallery img.plan-logo {
        left: 35px !important;
        top: 35px !important;
    }
}

.profile-hero .model-details .profile-hero-content .profile-hero-subtitle .value {
    display: flex;
    flex-wrap: wrap;
    column-gap: 5px;
}