/* ============================================
   PROPERTY LISTING SECTION
   ============================================ */
.properties-listing-section {
    background: var(--background-primary);
    padding: 40px 24px;
    width: 100%;
}

.properties-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Section Title Styles */
.list-section-title-wrapper {
    text-align: center;
    margin-bottom: 4px;
}

.list-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.list-section-title-underline {
    width: 80px;
    height: 3px;
    background: var(--background-logo);
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================================
   PROPERTY CARDS
   ============================================ */

.property-item {
    display: flex;
    flex-direction: column;
    background: var(--background-secondary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-items: stretch;
    width: 100%;
    container-type: inline-size;
}

.property-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--elevated-shadow);
    border-color: var(--fill-primary);
}

@media (min-width: 769px) {
    .property-item {
        flex-direction: row;
    }
}

/* Image Section */
.property-image-section {
    flex: 0 0 400px;
    max-width: 100%;
    background: var(--background-tertiary);
    display: flex;
    flex-direction: column;
}

.property-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    min-height: 300px;
    overflow: hidden;
    background: var(--background-tertiary);
    display: block;
}

.image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

/* Loading state */
.property-image.loading {
    background: linear-gradient(90deg, var(--background-tertiary) 25%, var(--background-tertiary-hover) 50%, var(--background-tertiary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Image corners */
.listing-id-corner,
.listed-date-corner {
    position: absolute;
    top: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.75);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    font-family: var(--font-family-monospace);
    backdrop-filter: blur(4px);
    border-radius: 30px;
    pointer-events: none;
}

.listing-id-corner {
    right: 8px;
}

.listed-date-corner {
    left: 8px;
}

/* Mobile Agent Box */
.mobile-agent-box {
    display: none;
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 15;
    background: var(--popover-background);
    padding: 6px 16px 6px 10px;
    border-radius: 100px;
    box-shadow: var(--menu-shadow);
    border: 1px solid var(--border);
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(8px);
}

.mobile-agent-image {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--background-logo);
    background: var(--background-tertiary);
}

.mobile-agent-info {
    display: flex;
    flex-direction: column;
}

.mobile-agent-name {
    font-weight: 700;
    font-size: 12px;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.property-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.property-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    will-change: transform;
}

.image-link:hover .property-image img {
    transform: scale(1.02);
}

/* Property Details */
.property-details {
    flex: 1;
    padding: 16px 24px;
    background: var(--background-secondary);
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Desktop Agent Corner */
.agent-corner {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--popover-background);
    padding: 8px 20px 8px 12px;
    border-radius: 100px;
    box-shadow: var(--menu-shadow);
    border: 1px solid var(--border);
    z-index: 5;
    backdrop-filter: blur(8px);
}

.agent-corner-image {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--background-logo);
    background: var(--background-tertiary);
}

.agent-corner-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.agent-corner-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

/* Property Header */
.property-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 16px;
    max-width: calc(100% - 200px);
}

.title-listing-wrapper {
    flex: 1;
}

.property-title-link {
    text-decoration: none;
    display: inline-block;
    margin: 0;
}

.property-title-link:hover {
    opacity: 0.8;
}

.property-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.property-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--background-logo);
    margin-bottom: 16px;
}

/* Property Features */
.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
    justify-content: left;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--background-tertiary);
    padding: 8px 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.feature-icon {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--background-logo);
}

.feature-icon svg,
.feature-icon svg * {
    stroke: var(--background-logo);
}

/* Property Location */
.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    background: var(--background-tertiary);
    padding: 8px 16px;
    border-radius: 16px;
    width: fit-content;
    border: 1px solid var(--border);
}

.location-icon {
    color: var(--background-logo);
    display: inline-flex;
}

.location-icon svg,
.location-icon svg * {
    stroke: var(--background-logo);
}

.property-location span:last-child {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   BUTTON STYLES
   ============================================ */

.contact-section {
    margin-top: 4px;
    margin-bottom: 4px;
    display: flex;
    justify-content: center;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.call-agent-btn,
.call-btn,
.whatsapp-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    padding: 0 20px !important;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    height: 44px !important;
    line-height: 1;
    box-sizing: border-box;
    white-space: nowrap;
    margin: 0 !important;
}

.call-agent-btn,
.call-btn {
    background: var(--background-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.call-agent-btn:hover,
.call-btn:hover {
    background: var(--background-tertiary-hover);
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: #075E54;
    color: var(--text-primary);
    border: none;
}

.whatsapp-btn:hover {
    background: #054a41;
    transform: translateY(-2px);
}

.call-agent-btn svg,
.call-btn svg,
.whatsapp-btn svg {
    stroke: var(--text-primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Focus states */
.Sort:focus-visible,
.Filter:focus-visible,
.Tab:focus-visible,
.Pages:focus-visible,
.call-agent-btn:focus-visible,
.call-btn:focus-visible,
.whatsapp-btn:focus-visible,
.property-title-link:focus-visible {
    outline: 2px solid var(--background-logo);
    outline-offset: 2px;
}

/* Button visibility */
@media (min-width: 769px) {
    .call-agent-btn {
        display: inline-flex !important;
    }
    .call-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .call-agent-btn {
        display: none !important;
    }
    .call-btn {
        display: inline-flex !important;
    }
}

/* ============================================
   STATISTICS
   ============================================ */

.statistic-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
    padding-left: 24px;
    padding-right: 24px;
}

.statistic-found {
    font-size: 12px;
    flex: 0 0 50%;
    text-align: left;
    color: var(--text-quaternary);
}

.statistic-display {
    font-size: 12px;
    flex: 0 0 50%;
    text-align: right;
    color: var(--text-quaternary);
}

/* ============================================
   SORT & FILTER BAR STYLES
   ============================================ */

.DivSort,
.DivFilter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}

.DivSort {
    margin-bottom: 30px;
}

.DivFilter {
    margin-bottom: 20px;
}

.Sort,
.Filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: var(--background-tertiary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.Sort:hover,
.Filter:hover {
    background: var(--background-tertiary-hover);
    border-color: var(--fill-primary);
    transform: translateY(-2px);
}

.SortActive,
.FilterActive {
    background: var(--background-logo) !important;
    color: var(--text-primary) !important;
    border-color: var(--background-logo) !important;
}

.SortActive:hover,
.FilterActive:hover {
    background: var(--background-logo-hover) !important;
    border-color: var(--background-logo-hover) !important;
    transform: translateY(-2px);
}

/* ============================================
   TAB BAR STYLES
   ============================================ */

.DivTab {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 30px auto;
    padding: 0;
    background: transparent;
}

.Tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: var(--background-tertiary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.Tab:hover {
    background: var(--background-tertiary-hover);
    border-color: var(--fill-primary);
    transform: translateY(-2px);
}

.TabActive {
    background: var(--background-logo) !important;
    color: var(--text-primary) !important;
    border-color: var(--background-logo) !important;
}

.TabActive:hover {
    background: var(--background-logo-hover) !important;
    border-color: var(--background-logo-hover) !important;
    transform: translateY(-2px);
}

/* ============================================
   PAGINATION STYLES
   ============================================ */

.TablePages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 40px auto 24px auto;
    padding: 24px 0 0 0;
    background: transparent;
    border-top: 1px solid var(--border);
}

.Pages {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--background-secondary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    cursor: pointer;
}

.Pages:hover {
    background: var(--background-tertiary);
    border-color: var(--fill-primary);
    transform: translateY(-2px);
}

.PagesOver {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--background-logo);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--background-logo);
    cursor: default;
}

.Pages.No {
    opacity: 0.7;
}

.Pages.No:hover {
    opacity: 1;
}

.Pages:last-child,
.Pages:first-child {
    background: var(--background-secondary);
    font-weight: 600;
}

.Pages:last-child:hover,
.Pages:first-child:hover {
    background: var(--background-tertiary);
}

.Pages.ellipsis {
    background: transparent;
    border: none;
    cursor: default;
    color: var(--text-quaternary);
}

.Pages.ellipsis:hover {
    background: transparent;
    transform: none;
}

/* ============================================
   BREADCRUMB & H1 HEADER STYLES
   ============================================ */

.DivH1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 50px auto 25px auto;
    padding: 0;
    background: transparent;
}

.Breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 15px 0;
    padding: 0;
    list-style: none;
}

.Breadcrumb li {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-quaternary);
}

.Breadcrumb li:not(:last-child):after {
    content: "→";
    margin-left: 8px;
    color: var(--background-logo);
    font-size: 12px;
    font-weight: normal;
}

.Breadcrumb a {
    color: var(--text-quaternary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 13px;
}

.Breadcrumb a:hover {
    color: var(--background-logo);
    text-decoration: underline;
}

.DivH1 h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-align: left;
}

/* ============================================
   MOBILE RESPONSIVE (768px and below)
   ============================================ */

@media (max-width: 768px) {
    .properties-listing-section {
        padding: 16px 16px;
    }
    
    .properties-container {
        gap: 16px;
    }
    
    .list-section-title {
        font-size: 24px;
    }
    
    .list-section-title-underline {
        width: 60px;
        height: 2px;
    }
    
    .property-image-section {
        flex: 0 0 300px;
        width: 100%;
        height: 100%;
        min-height: 300px;
    }
    
    .property-image-wrapper {
        height: 100%;
        min-height: 300px;
    }
    
    .property-image {
        height: 300px;
        min-height: 300px;
    }
    
    .property-image img {
        height: 100%;
        min-height: 300px;
        width: 100%;
    }
    
    .property-details {
        padding: 16px;
    }
    
    .desktop-agent {
        display: none;
    }
    
    .mobile-agent-box {
        display: flex;
    }
    
    .property-title {
        font-size: 16px;
        color: var(--text-primary);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
    }
    
    .property-price {
        font-size: 24px;
        color: var(--background-logo);
        margin-bottom: 16px;
    }
    
    .property-features {
        gap: 6px;
        justify-content: center;
    }
    
    .feature {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: 14px;
        font-weight: 500;
        color: var(--text-primary);
        background: var(--background-tertiary);
        padding: 8px 8px;
        border-radius: 16px;
        border: 1px solid var(--border);
    }
    
    .feature-icon {
        display: inline-flex;
        flex-shrink: 0;
        color: var(--background-logo);
    }
    
    .property-location {
        width: auto;
        margin-bottom: 16px;
        background: var(--background-tertiary);
        padding: 8px 16px;
        border-radius: 16px;
        border: 1px solid var(--border);
    }
    
    .property-location span:last-child {
        color: var(--text-primary);
        font-weight: 500;
    }
    
    .property-header {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 0;
        max-width: 100%;
    }
    
    .contact-section {
        margin-top: 2px;
        margin-bottom: 2px;
    }
    
    .call-agent-btn,
    .call-btn,
    .whatsapp-btn {
        height: 40px !important;
        padding: 0 16px !important;
        font-size: 13px;
        margin: 0 !important;
    }
    
    .call-agent-btn svg,
    .call-btn svg,
    .whatsapp-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .statistic-wrapper {
        flex-direction: column;
    }
    
    .statistic-display {
        display: none;
    }
    
    .statistic-found {
        flex: 0 0 100%;
        width: 100%;
        text-align: center;
        font-size: 14px;
        color: var(--text-quaternary);
    }
    
    .DivSort,
    .DivFilter,
    .DivTab {
        gap: 8px;
        margin: 0 auto 20px auto;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 4px 0 8px 0;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    
    .DivSort::-webkit-scrollbar,
    .DivFilter::-webkit-scrollbar,
    .DivTab::-webkit-scrollbar {
        height: 3px;
    }
    
    .DivSort::-webkit-scrollbar-track,
    .DivFilter::-webkit-scrollbar-track,
    .DivTab::-webkit-scrollbar-track {
        background: var(--background-tertiary);
        border-radius: 10px;
    }
    
    .DivSort::-webkit-scrollbar-thumb,
    .DivFilter::-webkit-scrollbar-thumb,
    .DivTab::-webkit-scrollbar-thumb {
        background: var(--separator);
        border-radius: 10px;
    }
    
    .Sort,
    .Filter,
    .Tab {
        padding: 6px 16px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .TablePages {
        gap: 6px;
        margin: 30px auto 15px auto;
        padding: 15px 0 0 0;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    
    .TablePages::-webkit-scrollbar {
        height: 3px;
    }
    
    .TablePages::-webkit-scrollbar-track {
        background: var(--background-tertiary);
        border-radius: 10px;
    }
    
    .TablePages::-webkit-scrollbar-thumb {
        background: var(--separator);
        border-radius: 10px;
    }
    
    .Pages,
    .PagesOver {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
        flex-shrink: 0;
    }
    
    .DivH1 {
        margin: 0 auto 16px auto;
    }
    
    .Breadcrumb {
        margin: 0 0 10px 0;
        gap: 6px;
    }
    
    .Breadcrumb li {
        font-size: 11px;
    }
    
    .Breadcrumb a {
        font-size: 11px;
    }
    
    .Breadcrumb li:not(:last-child):after {
        margin-left: 6px;
        font-size: 10px;
    }
    
    .DivH1 h1 {
        font-size: 18px;
        line-height: 1.3;
        text-align: left;
    }
}

/* ============================================
   RTL SUPPORT
   ============================================ */

[dir="rtl"] .agent-corner {
    right: auto !important;
    left: 20px !important;
}

[dir="rtl"] .agent-corner-info {
    text-align: right !important;
    align-items: flex-end !important;
}

[dir="rtl"] .agent-corner-name {
    text-align: right !important;
    width: 100%;
}

[dir="rtl"] .property-header {
    direction: rtl;
}

[dir="rtl"] .property-title {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .property-details {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .property-price {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .property-features {
    justify-content: flex-start;
    direction: rtl;
}

[dir="rtl"] .feature {
    direction: rtl;
}

[dir="rtl"] .property-location {
    direction: rtl;
}

[dir="rtl"] .listing-id-corner {
    right: auto !important;
    left: 8px !important;
}

[dir="rtl"] .listed-date-corner {
    left: auto !important;
    right: 8px !important;
}

[dir="rtl"] .mobile-agent-box {
    left: auto !important;
    right: 12px !important;
    padding: 6px 10px 6px 16px !important;
}

[dir="rtl"] .mobile-agent-info {
    text-align: right;
}

[dir="rtl"] .contact-buttons {
    direction: rtl;
}

[dir="rtl"] .call-agent-btn,
[dir="rtl"] .call-btn,
[dir="rtl"] .whatsapp-btn {
    direction: rtl;
}

[dir="rtl"] .Breadcrumb {
    direction: rtl;
}

[dir="rtl"] .Breadcrumb li:not(:last-child):after {
    content: "←";
    margin-left: 0;
    margin-right: 8px;
}

[dir="rtl"] .DivH1 h1 {
    text-align: right;
}

[dir="rtl"] .TablePages {
    direction: rtl;
}

[dir="rtl"] .statistic-found {
    text-align: right;
}

[dir="rtl"] .DivSort,
[dir="rtl"] .DivFilter,
[dir="rtl"] .DivTab {
    direction: rtl;
}

@media (max-width: 768px) {
    [dir="rtl"] .property-header {
        align-items: flex-end;
    }
    
    [dir="rtl"] .property-title {
        text-align: right;
    }
    
    [dir="rtl"] .DivH1 h1 {
        text-align: right;
    }
    
    [dir="rtl"] .mobile-agent-box {
        left: auto !important;
        right: 12px !important;
    }
}


/* ============================================
   ADMIN NOTES STYLES
   ============================================ */

.admin-notes {
    background: var(--background-tertiary);
    border-left: 4px solid var(--background-logo);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 0 auto 30px auto;
    max-width: 1400px;
    width: 100%;
    box-shadow: var(--card-shadow);
    transition: all 0.2s ease;
}

.admin-notes:hover {
    box-shadow: var(--elevated-shadow);
    transform: translateY(-2px);
}

.admin-notes-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.admin-notes-content p {
    margin: 0 0 10px 0;
}

.admin-notes-content p:last-child {
    margin-bottom: 0;
}

.admin-notes-content ul,
.admin-notes-content ol {
    margin: 8px 0;
    padding-left: 20px;
}

.admin-notes-content a {
    color: var(--background-logo);
    text-decoration: none;
}

.admin-notes-content a:hover {
    text-decoration: underline;
}

.admin-notes-content strong {
    font-weight: 700;
    color: var(--background-logo);
}

/* Mobile */
@media (max-width: 768px) {
    .admin-notes {
        padding: 16px;
        margin: 0 16px 20px 16px;
        width: calc(100% - 32px);
    }
    
    .admin-notes-content {
        font-size: 13px;
    }
}

/* RTL */
[dir="rtl"] .admin-notes {
    border-left: none;
    border-right: 4px solid var(--background-logo);
}

[dir="rtl"] .admin-notes-content {
    text-align: right;
}

[dir="rtl"] .admin-notes-content ul,
[dir="rtl"] .admin-notes-content ol {
    padding-left: 0;
    padding-right: 20px;
}