body {
    background-color: #f5f5f5;
}

html[lang="ar"],
html[dir="rtl"] {
    direction: rtl;
}

html[lang="ar"] .en,
html[dir="rtl"] .en {
    display: none;
}

html[lang="en"] .ar,
html[dir="ltr"] .ar {
    display: none;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1280px;
    margin: 2rem auto;
}

.shurfa-container {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: center;
    padding-right: 0;
    padding-left: 0;
    margin-left: 0;
}

.main-image-container {
    position: relative;
    width: 735px;
    height: 468px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.favorite-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background-color: white;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 16px 32px -4px rgba(38, 38, 38, 0.1),
        0px 2px 4px 0px rgba(38, 38, 38, 0.04);
    transition: all 0.3s ease;
    padding: 10px;
}

.favorite-btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 20px 40px -4px rgba(38, 38, 38, 0.15),
        0px 4px 8px 0px rgba(38, 38, 38, 0.06);
}

.favorite-btn.active {
    background-color: #ff4444;
    border-color: #ff4444;
}

.heart-icon {
    width: 28px;
    height: 28px;
    color: #262626;
    transition: color 0.3s ease;
}

.favorite-btn.active .heart-icon {
    color: white;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 19px;
    width: 525px;
    flex-shrink: 0;
}

.gallery-item {
    height: 224px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item:nth-child(1) {
    flex: 1 0 0;
    min-width: 234px;
}

.gallery-item:nth-child(2) {
    width: 252px;
    flex-shrink: 0;
}

.gallery-item:nth-child(3) {
    width: 253px;
    flex-shrink: 0;
}

.gallery-item:nth-child(4) {
    width: 253px;
    flex-shrink: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.view-all .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.view-all:hover .overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

.view-all-text {
    font-size: 24px;
    font-weight: 300;
    line-height: 33px;
    color: white;
    white-space: nowrap;
    text-align: center;
}

@media (max-width: 1280px) {
    .shurfa-container {
        flex-direction: column;
        align-items: stretch;
    }

    .main-image-container,
    .gallery-grid {
        width: 100%;
        max-width: 735px;
    }

    .gallery-grid {
        max-width: 100%;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .main-image-container {
        height: 300px;
    }

    .gallery-item {
        height: 180px;
    }

    .view-all-text {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .shurfa-container {
        gap: 10px;
    }

    .gallery-grid {
        gap: 10px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        width: 100%;
        flex: 0 0 100%;
    }

    .main-image-container {
        height: 250px;
    }

    .gallery-item {
        height: 150px;
    }

    .view-all-text {
        font-size: 18px;
        line-height: 24px;
    }
}

.details-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.property-details {
    background: white;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 70%;
}

.sidebar-wrapper {
    flex: 0 0 calc(30% - 20px);
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-self: stretch;
    width: 30%;
}

.property-sidebar {
    background: white;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.property-title-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 300px;
}

.property-category {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #737373;
    text-transform: uppercase;
    font-weight: 400;
}

.property-category .separator {
    font-weight: 100;
}

.property-name {
    font-size: 36px;
    font-weight: 700;
    color: #171717;
    line-height: 36px;
    margin: 0;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 300;
    color: #171717;
}

.location-icon {
    width: 26px;
    height: 26px;
    color: #171717;
}

.property-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.badge {
    background-color: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 300;
    color: var(--primary, #005A70);
    white-space: nowrap;
    border-radius: var(--Radius-XS, 8px);
    background: rgba(0, 90, 112, 0.10);
}

.property-description {
    color: #454545;
    text-align: right;
    font-family: Tajawal;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    /* 145.833% */
    letter-spacing: 0.24px;
}

html[lang="en"] .property-description {
    text-align: left;
}

.divider {
    border: none;
    background-color: transparent;
    border-top: 1px solid #E5E5E5;
    margin: 0;
    opacity: 1;
}

.section-title {
    font-size: 28px;
    font-weight: 500;
    color: #171717;
    margin: 0 0 5px 0;
}

.specifications-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.specs-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.specs-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px 34px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 100px;
}

.spec-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-icon {
    width: 24px;
    height: 24px;
    color: #005A70;
    flex-shrink: 0;
}

.spec-value {
    font-size: 22px;
    font-weight: 100;
    color: #171717;
    letter-spacing: 0.5px;
}

.spec-label {
    font-size: 18px;
    font-weight: 100;
    color: #171717;
    line-height: 26px;
}

.spec-divider {
    width: 1px;
    height: 39px;
    background: #e5e5e5;
    flex-shrink: 0;
}


.positioning-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.positioning-container {
    display: flex;
    flex-direction: column;
}

.positioning-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px 36px;
}

.positioning-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.positioning-label {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    color: #737373;
    margin: 0;
}

.positioning-value {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    color: #171717;
    margin: 0;
}

.positioning-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 39px;
    flex-shrink: 0;
}

.positioning-divider img {
    transform: rotate(90deg);
    width: 39px;
    height: auto;
}

.features-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 100;
    color: #171717;
    margin: 0;
}

.feature-subtitle .bullet {
    font-size: 24px;
    color: #171717;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 10px 16px;
    background: #f7f7f7;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 100;
    color: #171717;
    white-space: nowrap;
}

.feature-tag-icon {
    width: 18px;
    height: 18px;
    color: #171717;
    flex-shrink: 0;
}

.landmarks-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.landmarks-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.landmark-tag {
    background: #f7f7f7;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 100;
    color: #171717;
    text-align: center;
    white-space: nowrap;
}

.guarantees-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.warranty-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.warranty-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 100;
    color: #171717;
}

.medal-icon {
    width: 24px;
    height: 24px;
    color: #171717;
    flex-shrink: 0;
}

.certificate-list {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

.certificate-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 224px;
}

.certificate-badge {
    width: 50px;
    height: 50px;
}

.badge-icon {
    width: 50px;
    height: 50px;
}

.certificate-text {
    font-size: 20px;
    font-weight: 100;
    color: #171717;
    margin: 0;
    line-height: normal;
}

.ownership-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ownership-details {
    display: flex;
    gap: 40px;
}

.ownership-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ownership-item {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ownership-label {
    font-size: 20px;
    font-weight: 100;
    color: #737373;
    margin: 0;
    line-height: normal;
}

.ownership-value {
    font-size: 20px;
    font-weight: 100;
    color: #171717;
    margin: 0;
    line-height: normal;
}

.ownership-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 0;
}

.map-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 438px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
}

.map-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: none;
}

.map-overlay {
    position: absolute;
    transform: translate(-50%, -100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 208px;
    pointer-events: none;
}

.property-marker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    filter: drop-shadow(0px 24px 48px rgba(38, 38, 38, 0.12)) drop-shadow(0px 2px 4px rgba(38, 38, 38, 0.04));
}

.marker-content {
    background: white;
    border-radius: 10px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: -13px;
    z-index: 2;
}

.marker-image {
    width: 100%;
    aspect-ratio: 2.58;
    object-fit: cover;
    border-radius: 8px;
}

.marker-info {
    display: flex;
    flex-direction: column;
    margin-top: 6px;
    width: 100%;
}

.marker-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #28285D;
    margin: 5px 0;
}

.marker-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #737373;
    line-height: 1;
}

.marker-location-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: #737373;
}

.marker-location-text {
    flex: 1;
}

.map-marker {
    position: relative;
    z-index: 1;
}

/* Map Marker Container */
.map-marker-container {
    position: absolute;
    left: 35%;
    top: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

/* Property Card */
.map-property-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: -29px;
    z-index: 2;
    filter: drop-shadow(0px 24px 48px rgba(38, 38, 38, 0.12)) drop-shadow(0px 2px 4px rgba(38, 38, 38, 0.04));
}

.map-card-content {
    background: white;
    border-radius: 10px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: -13px;
    z-index: 2;
}

.map-card-image {
    width: 178px;
    height: 76px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.map-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 166px;
}

.map-card-title {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #171717;
    margin: 0;
}

.map-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Myriad Pro', sans-serif;
    font-size: 12px;
    line-height: 14px;
    color: #737373;
}

.map-location-icon {
    flex-shrink: 0;
}

/* Marker Pointer */
.map-marker-pointer {
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 4px;
    transform: rotate(45deg);
    margin-bottom: -13px;
    z-index: 1;
}

/* Map Pin */
.map-marker-pin {
    width: 85px;
    height: 85px;
    margin-bottom: -29px;
    z-index: 1;
}

.map-marker-pin img {
    width: 100%;
    height: 100%;
}

/* Map Controls */
.map-controls {
    background: white;
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 40px;
    position: relative;
    z-index: 3;
    box-shadow: 0px 24px 48px rgba(38, 38, 38, 0.12), 0px 2px 4px rgba(38, 38, 38, 0.04);
}

.map-control-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.2s ease;
}

.map-control-btn:hover {
    opacity: 0.7;
}

.map-control-btn svg {
    width: 28px;
    height: 28px;
}

.map-control-divider {
    width: 27px;
    height: 1px;
    background: #e5e5e5;
}

.phases-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phases-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.phases-scroll-container::-webkit-scrollbar {
    display: none;
}

.phase-card {
    position: relative;
    height: 290px;
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.4s ease, border-radius 0.4s ease;
    flex-shrink: 0;
}

.phase-card.expanded {
    width: 346px;
    border-radius: 24px;
}

.phase-card.collapsed {
    width: 62px;
}

.phase-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(68, 68, 68, 0) 0%, var(--primary, #005A70) 97.69%);
    pointer-events: none;
}

.phase-badges {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.phase-badge {
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 400;
    color: var(--primary, #005A70);
    line-height: 16px;
    border-radius: var(--Radius-S, 10px);
    background: var(--Shorfa-Subtle, #E6EFF1);
}

.phase-info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 2;
    color: white;
}

.phase-card.collapsed .phase-info {
    display: none;
}

.phase-info-collapsed {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.phase-card.expanded .phase-info-collapsed {
    display: none;
}

.phase-label {
    font-size: 20px;
    font-weight: 100;
    color: #e5e5e5;
    display: block;
    margin-bottom: 4px;
    line-height: normal;
}

.phase-title {
    font-size: 24px;
    font-weight: 300;
    color: white;
    margin: 0 0 4px 0;
    line-height: normal;
}

.phase-dates {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 100;
    color: #e5e5e5;
    line-height: normal;
}

.date-separator {
    margin: 0 2px;
}

.phase-label-vertical {
    font-size: 20px;
    font-weight: 100;
    color: #e5e5e5;
    white-space: nowrap;
    transform: rotate(-90deg);
    display: inline-block;
    padding: 20px;
}

.phase-card.collapsed .phase-badges {
    display: none;
}

.price-section {
    display: flex;
    flex-direction: column;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 6px;
}

.currency-symbol {
    font-size: 28px;
    color: #171717;
}

.price-amount {
    font-size: 36px;
    font-weight: 300;
    color: #171717;
    line-height: 44px;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-bottom: 30px;
}

.section-header.collapsible:hover {
    opacity: 0.8;
}

.sidebar-title {
    font-size: 24px;
    font-weight: 300;
    color: #171717;
    margin: 0;
}

.collapse-icon {
    width: 24px;
    height: 24px;
    color: #171717;
    transition: transform 0.3s ease;
}

.section-header.collapsed .collapse-icon {
    transform: rotate(-180deg);
}

.interest-form,
.visit-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.section-header.collapsed+form {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1024px) {
    .property-header {
        flex-direction: column;
    }

    .specs-row {
        gap: 20px 24px;
    }

    .spec-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .property-details {
        padding: 20px;
    }

    .property-name {
        font-size: 28px;
        line-height: 32px;
    }

    .property-category,
    .property-location {
        font-size: 18px;
    }

    .property-description {
        font-size: 20px;
        line-height: 30px;
    }

    .ownership-details {
        flex-direction: column;
        gap: 20px;
    }

    .phase-main {
        width: 400px;
    }

    .feature-subtitle {
        font-size: 20px;
    }

    .feature-tag {
        font-size: 18px;
        padding: 8px 14px;
    }

    .certificate-list {
        flex-direction: column;
        gap: 20px;
    }

    .certificate-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .property-details {
        padding: 16px;
        gap: 20px;
    }

    .property-name {
        font-size: 24px;
        line-height: 28px;
    }

    .property-category,
    .badge {
        font-size: 16px;
    }

    .property-location {
        font-size: 16px;
    }

    .property-description {
        font-size: 18px;
        line-height: 26px;
    }

    .section-title {
        font-size: 22px;
    }

    .phase-main {
        width: 300px;
        height: 200px;
    }

    .phase-vertical {
        width: 50px;
        height: 200px;
    }

    .phases-scroll-container {
        gap: 12px;
        padding: 0 4px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .phase-card {
        height: 250px;
    }

    .phase-card.expanded {
        width: 100%;
        min-width: 280px;
        max-width: 346px;
    }

    .phase-card.collapsed {
        width: 50px;
    }

    .map-container {
        height: 250px;
    }

    .details-wrapper {
        flex-direction: column;
    }

    .property-details,
    .property-sidebar {
        flex: 1 1 100%;
        width: 100%;
    }

    .property-sidebar {
        position: static;
    }
}

.price-section {
    display: flex;
    flex-direction: column;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 6px;
}

.currency-symbol {
    font-size: 28px;
    color: #171717;
}

.price-amount {
    font-size: 36px;
    font-weight: 300;
    color: #171717;
    line-height: 44px;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.section-header.collapsible:hover {
    opacity: 0.8;
}

.sidebar-title {
    font-size: 24px;
    font-weight: 300;
    color: #171717;
    margin: 0;
}

.collapse-icon {
    width: 24px;
    height: 24px;
    color: #171717;
    transition: transform 0.3s ease;
}

.section-header.collapsed .collapse-icon {
    transform: rotate(-180deg);
}

.interest-form,
.visit-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.section-header.collapsed+form {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label {
    font-size: 20px;
    font-weight: 100;
    color: #171717;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    height: 54px;
    padding: 10px 18px;
    background: #f7f7f7;
    border: none;
    border-radius: 12px;
    font-family: 'DG Heaven', sans-serif;
    font-size: 18px;
    font-weight: 100;
    color: #171717;
    outline: none;
    transition: background 0.3s ease;
}

.form-input::placeholder {
    color: #737373;
}

html[lang="en"] .form-input::placeholder {
    text-align: left;
}

.form-input:focus {
    background: #efefef;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-row .form-group {
    flex: 1;
    min-width: 0;
}

/* New booking input wrapper with icon */
.booking-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 12px 14px;
    min-height: 60px;
}

.booking-input-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.booking-input-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.booking-input-label {
    font-size: 14px;
    font-weight: 400;
    color: #171717;
    line-height: 1;
}

.booking-input-value {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 16px;
    font-weight: 300;
    color: #737373;
    padding: 0;
    line-height: 1.2;
}

.booking-input-value::placeholder {
    color: #737373;
}

/* Old date/time picker styles (keep for compatibility) */
.date-picker,
.time-picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.date-picker:hover,
.time-picker:hover {
    background: #efefef;
}

.picker-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.picker-label {
    font-size: 20px;
    font-weight: 100;
    color: #171717;
}

.picker-value {
    font-size: 20px;
    font-weight: 100;
    color: #737373;
}

.picker-icon {
    width: 24px;
    height: 24px;
    color: #171717;
    flex-shrink: 0;
}

.visit-type-options {
    display: flex;
    gap: 20px;
}

.visit-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: #f7f7f7;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    font-weight: 100;
    color: #171717;
}

.visit-option:hover {
    background: #efefef;
}

.visit-option.active {
    background: rgba(67, 97, 100, 0.16);
    border-color: var(--primary, #005A70);
}

.visit-icon {
    width: 44px;
    height: 44px;
    color: #171717;
}

.visit-label {
    font-size: 18px;
    font-weight: 400;
    color: #171717;
    text-align: center;
}

.btn-primary {
    width: 100%;
    height: 54px;
    background: var(--primary, #005A70);
    border: none;
    border-radius: 12px;
    font-family: 'DG Heaven', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary.btn-loading,
.btn-primary:disabled {
    background: var(--primary, #005A70);
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary:hover {
    background: var(--primary, #005A70);
    transform: translateY(-1px);
    box-shadow: 0px 4px 12px rgba(67, 97, 100, 0.3);
}

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

.attachments-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: white;
    border-radius: 12px;
    padding: 20px;
}

.attachments-section .section-title {
    font-size: 20px;
    margin: 0;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.attachment-item:hover {
    opacity: 0.7;
    background: transparent;
}

.file-icon {
    width: 24px;
    height: 28px;
    flex-shrink: 0;
}

.attachment-name {
    font-size: 16px;
    font-weight: 400;
    color: #171717;
    line-height: normal;
    text-decoration: underline;
}

.share-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: white;
    border-radius: 12px;
    padding: 20px;
}

.share-section .section-title {
    font-size: 20px;
    margin: 0;
}

.share-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.share-icon-btn {
    width: 48px;
    height: 49px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.share-icon-btn svg {
    color: #171717;
    width: 20px;
    height: 20px;
}

.share-icon-btn:hover {
    background: #f7f7f7;
}

.share-icon-btn:active {
    transform: scale(0.95);
}

.btn-secondary {
    width: 100%;
    padding: 16px 24px;
    background: transparent;
    border: 2px solid var(--primary, #005A70);
    border-radius: 99px;
    font-size: 20px;
    font-weight: 300;
    color: var(--primary, #005A70);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary, #005A70);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0px 4px 12px rgba(8, 28, 66, 0.3);
}

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

/* Buildings Section */
.buildings-section {
    margin-top: 40px;
}

.building-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.building-group {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
}

.building-table {
    display: flex;
    width: 100%;
}


.building-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.building-column.building-name-column {
    flex: 0 0 190px;
}

.building-column.action-column {
    flex: 0 0 75px;
}

.building-header {
    background: var(--primary, #005a70);
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: white;
    font-size: 22px;
    font-family: 'Myriad Pro', sans-serif;
}

.building-name-column .building-header {
    border-top-left-radius: 16px;
    justify-content: flex-start;
}

html[lang="ar"] .building-name-column .building-header,
html[dir="rtl"] .building-name-column .building-header {
    border-top-left-radius: 0;
    border-top-right-radius: 16px;
}

.action-column .building-header {
    border-top-right-radius: 16px;
}

html[lang="ar"] .action-column .building-header,
html[dir="rtl"] .action-column .building-header {
    border-top-right-radius: 0;
    border-top-left-radius: 16px;
}

.building-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 100%;
    height: 100%;
}

.building-toggle-header {
    cursor: pointer;
}

.toggle-icon {
    transition: transform 0.3s ease;
    color: white;
}

.building-group.expanded .toggle-icon {
    transform: rotate(0deg);
}

.building-group.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.building-rows {
    display: flex;
    flex-direction: column;
}

.building-group.collapsed .building-rows {
    display: none;
}

.building-cell {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 16px;
    background: white;
    font-size: 14px;
    color: #171717;
    font-family: 'Poppins', sans-serif;
    line-height: 20px;
    letter-spacing: 0.5px;
}

.building-cell.alt {
    background: #f7f7f7;
}

.building-name-column .building-cell {
    gap: 8px;
    padding: 14px 16px;
}

.building-name-column .building-cell:last-child {
    border-bottom-left-radius: 16px;
    border-left: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

html[lang="ar"] .building-name-column .building-cell:last-child,
html[dir="rtl"] .building-name-column .building-cell:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 16px;
    border-left: none;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.action-column .building-cell {
    justify-content: center;
    padding: 14px 16px;
}

.action-column .building-cell:first-child {
    border-right: 1px solid #e5e5e5;
}

.action-column .building-cell:last-child {
    border-bottom-right-radius: 16px;
}

html[lang="ar"] .action-column .building-cell:first-child,
html[dir="rtl"] .action-column .building-cell:first-child {
    border-right: none;
    border-left: 1px solid #e5e5e5;
}

html[lang="ar"] .action-column .building-cell:last-child,
html[dir="rtl"] .action-column .building-cell:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 16px;
}

.property-thumbnail {
    width: 66px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.property-name-small {
    font-size: 14px;
    width: 90px;
    flex-shrink: 0;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.currency-icon {
    width: 12px;
    height: 13.5px;
    flex-shrink: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 0.5px;
    height: 24px;
}

.status-badge.for-sale {
    background: #dff6f2;
    color: #3dc9b0;
}

.status-badge.rented {
    background: #e6e0ff;
    color: #8e51ff;
}

.status-badge.sold {
    background: #ffebeb;
    color: #fb2c36;
}

.status-badge.for-rent {
    background: #fff2e0;
    color: #ff8904;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #171717;
    transition: transform 0.2s ease;
}

.view-btn:hover {
    transform: scale(1.1);
}

.building-group.collapsed .building-header {
    border-bottom: 1px solid #e5e5e5;
}

.building-group.collapsed .building-name-column .building-header {
    border-bottom-left-radius: 16px;
}

html[lang="ar"] .building-group.collapsed .building-name-column .building-header,
html[dir="rtl"] .building-group.collapsed .building-name-column .building-header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 16px;
}

.building-group.collapsed .action-column .building-header {
    border-bottom-right-radius: 16px;
}

html[lang="ar"] .building-group.collapsed .action-column .building-header,
html[dir="rtl"] .building-group.collapsed .action-column .building-header {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 16px;
}

/* Bottom Sections (Attachments & Share) */
.bottom-sections {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
}

.bottom-sections .divider {
    display: none;
}

@media (max-width: 1024px) {
    .sidebar-wrapper {
        flex: 1 1 100%;
        width: 100%;
    }

    .bottom-sections {
        max-width: 100%;
    }

    .details-wrapper {
        flex-direction: column;
    }

    .property-details,
    .property-sidebar {
        flex: 1 1 100%;
        width: 100%;
    }

    .property-sidebar {
        position: static;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .price-amount {
        font-size: 28px;
    }

    .sidebar-title {
        font-size: 20px;
    }

    .form-label,
    .picker-label,
    .picker-value {
        font-size: 18px;
    }

    .visit-type-options {
        flex-direction: column;
    }
}

/* Related Projects Section */
.related-projects-section {
    width: 100%;
    background-color: white;
    border-radius: 20px;
    padding: 24px;
    margin-top: 40px;
}

.related-projects-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.related-projects-header .section-title {
    font-size: 30px;
    font-family: 'Myriad Pro', sans-serif;
    color: #171717;
    line-height: 36px;
    margin: 0;
}

.related-projects-navigation {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background-color: #f7f7f7;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
}

.nav-btn:hover:not(.disabled) {
    background-color: #e5e5e5;
    transform: scale(1.05);
}

.nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn svg {
    color: #171717;
    width: 28px;
    height: 28px;
}

html[lang="ar"] .nav-btn svg,
html[dir="rtl"] .nav-btn svg {
    transform: scaleX(-1);
}

.related-projects-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 2px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.related-projects-container::-webkit-scrollbar {
    display: none;
}

.related-project-card {
    flex-shrink: 0;
    width: 418px;
    background-color: #f7f7f7;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 293px;
    border-radius: 14px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.project-status-badges {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

html[lang="en"] .project-status-badges {
    left: 16px;
    right: auto;
}

.project-status-badge {
    background-color: #defce8;
    color: #005a70;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 18px;
    font-family: 'Myriad Pro', sans-serif;
    line-height: 20px;
    white-space: nowrap;
    height: 38px;
    display: flex;
    align-items: center;
    width: fit-content;
}

.project-favorite-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background-color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    padding: 10px;
}

html[lang="en"] .project-favorite-btn {
    right: 16px;
    left: auto;
}

.project-favorite-btn:hover {
    transform: scale(1.1);
}

.project-favorite-btn svg {
    color: #ff6b6b;
    width: 28px;
    height: 28px;
}

.project-image-slider {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.slider-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--Overlay-50-Inverse, rgba(255, 255, 255, 0.40));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-btn:hover {
    transform: scale(1.05);
}

.slider-btn svg {
    color: #171717;
    width: 24px;
    height: 24px;
}

html[lang="ar"] .slider-btn svg,
html[dir="rtl"] .slider-btn svg {
    transform: scaleX(-1);
}

.slider-dots {
    display: flex;
    gap: 6px;
    flex: 1;
    padding: 10px 15px;
    max-width: fit-content;
    justify-content: center;
    background: var(--Overlay-50-Inverse, rgba(255, 255, 255, 0.40));
    border-radius: var(--Radius-Circle, 999px);
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    background-color: white;
    width: 24px;
    border-radius: 4px;
}

.project-title-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    margin-top: 16px;
}

.project-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.3s ease;
}

.project-title-link:hover {
    opacity: 0.7;
}

.project-title {
    font-size: 20px;
    font-weight: 600;
    font-family: 'Myriad Pro', sans-serif;
    color: #171717;
    line-height: 24px;
    margin: 0;
}

.project-type-badge {
    background-color: #e6e8ec;
    color: #081c42;
    padding: 8px;
    border-radius: 10px;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 16px;
    flex-shrink: 0;
}

.project-location {
    font-size: 18px;
    font-family: 'Myriad Pro', sans-serif;
    color: #171717;
    line-height: normal;
    padding: 0 6px;
}

.project-details-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 6px;
    flex: 1;
}

.project-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
}

.project-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-stat-item .stat-icon {
    width: 24px;
    height: 24px;
    color: #171717;
    flex-shrink: 0;
}

.project-stat-item span {
    font-size: 15px;
    font-family: 'Myriad Pro', sans-serif;
    color: #171717;
    line-height: normal;
}

.project-stat-item strong {
    font-weight: 600;
}

.project-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: auto 0 0 0;
}

.project-price-container {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
}

.project-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.project-price .currency-symbol {
    font-size: 22px;
    color: #171717;
}

.project-price .currency-icon {
    width: 24px;
    height: 27px;
    color: #171717;
    flex-shrink: 0;
}

.price-range {
    font-size: 24px;
    font-weight: 600;
    font-family: 'Myriad Pro', sans-serif;
    color: #171717;
    letter-spacing: 0.24px;
    line-height: normal;
    white-space: nowrap;
}

.btn-register-interest {
    background-color: var(--primary, #005a70);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 24px;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Myriad Pro', sans-serif;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-register-interest:hover {
    background-color: var(--primary, #005A70);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 90, 112, 0.3);
    color: #fff;
}

.btn-register-interest:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .related-projects-section {
        padding: 20px;
    }

    .related-projects-header .section-title {
        font-size: 24px;
    }

    .related-project-card {
        width: 340px;
    }

    .project-title {
        font-size: 20px;
    }

    .project-type-badge {
        font-size: 14px;
        padding: 8px 12px;
    }

    .project-location {
        font-size: 18px;
    }

    .project-stat-item span {
        font-size: 16px;
    }

    .price-range {
        font-size: 24px;
    }

    .project-price-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .project-price {
        justify-content: flex-start;
    }

    .btn-register-interest {
        font-size: 18px;
        padding: 12px 20px;
        width: 100%;
    }
}


/* Modal Overlay */
.tic-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 99999999999999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);

}

.tic-modal-overlay.active {
    display: flex;
}

/* Close Button */
.tic-modal-close {
    position: absolute;
    top: 10px;
    left: 10%;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    z-index: 10001;
}

/* Content Layout */
.tic-modal-content {
    position: relative;
    width: 90%;
    max-width: 1250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Main Image */
.tic-modal-main-view {
    width: 100%;
    height: 68vh;
    border-radius: 20px;
    overflow: hidden;
}

.tic-modal-main-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.522);
}

/* Navigation Buttons */
.tic-modal-nav {
    position: absolute;
    bottom: 0;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tic-prev {
    left: 18%;
}

.tic-next {
    right: 18%;
}

/* Thumbnails Strip */
.tic-modal-thumbnails-container {
    background: white;
    padding: 10px;
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tic-modal-thumbnails-container::-webkit-scrollbar {
    display: none;
}

.tic-modal-thumbnails-wrapper {
    display: flex;
    gap: 10px;
    width: fit-content;
}

.tic-modal-thumb {
    width: 120px;
    height: 80px;
    border-radius: 12px;
    cursor: pointer;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    flex-shrink: 0;
}

.tic-modal-thumb.active {
    opacity: 1;
    border-color: #007bff;
    /* Blue border like the design */
}

/* Responsive Modal */
@media (max-width: 1300px) {
    .tic-prev {
        left: 10px;
    }

    .tic-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .tic-modal-main-view {
        height: 40vh;
    }

    .tic-modal-thumb {
        width: 80px;
        height: 60px;
    }

    .map-overlay {
        transform: translate(-50%, -100%);
        width: 180px;
    }

    .property-marker-card {
        width: 100%;
    }

    .marker-title {
        font-size: 14px;
    }

    .marker-location {
        font-size: 11px;
    }
}

.shurfa-interest-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    overflow-y: auto;
}

.shurfa-interest-modal.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.5);
}

.shurfa-interest-modal .shurfa-modal-box {
    width: 400px;
    max-width: 95%;
    background: white;
    border-radius: 20px;
    padding: 0;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.shurfa-interest-modal.active .shurfa-modal-box {
    transform: scale(1);
}

.shurfa-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    gap: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.shurfa-modal-box.rtl .shurfa-modal-header {
    flex-direction: row-reverse;
}

.shurfa-interest-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    flex: 1;
}

.shurfa-modal-box.rtl .shurfa-interest-title {
    text-align: right;
}

.shurfa-modal-box.ltr .shurfa-interest-title {
    text-align: left;
}

.shurfa-close-btn {
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.shurfa-close-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.shurfa-modal-content {
    padding: 24px;
}

.shurfa-form-group {
    margin-bottom: 20px;
}

.shurfa-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.shurfa-modal-box.rtl .shurfa-label {
    text-align: right;
}

.shurfa-modal-box.ltr .shurfa-label {
    text-align: left;
}

.shurfa-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.shurfa-input:focus {
    outline: none;
    border-color: #005A70;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 90, 112, 0.1);
}

.shurfa-input.rtl {
    text-align: right;
    direction: rtl;
}

.shurfa-input.ltr {
    text-align: left;
    direction: ltr;
}

.shurfa-input.rtl::placeholder {
    text-align: right;
}

.shurfa-input.ltr::placeholder {
    text-align: left;
}

.shurfa-error {
    display: block;
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
}

.shurfa-modal-box.rtl .shurfa-error {
    text-align: right;
}

.shurfa-modal-box.ltr .shurfa-error {
    text-align: left;
}

.shurfa-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary, #005A70);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.shurfa-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 90, 112, 0.3);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .shurfa-interest-modal .shurfa-modal-box {
        width: 95%;
        padding: 0;
    }

    .shurfa-modal-header {
        padding: 20px 20px 12px;
    }

    .shurfa-interest-title {
        font-size: 18px;
    }

    .shurfa-modal-content {
        padding: 20px;
    }
}