/* static/demo/custom.css */

/* Root variables for consistent colors */
:root {
    --bs-primary: #5beb00;
    --bs-secondary: #ff6700;
    --bs-primary-rgb: 91, 235, 0;
    --bs-secondary-rgb: 255, 103, 0;
    --bs-link-color: #5beb00;
    --bs-link-hover-color: #ff6700;
    --main-color: #5beb00;
}

/* Body background and layout */
body {
    background: linear-gradient(90deg, #000000, #3533cd);
    color: #ffffff;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-y: auto;
    font-family: Arial, sans-serif;
}
body.lang-ar {
    font-family: 'Noto Sans Arabic', sans-serif;
    direction: rtl;
}

/* Container styles */
.container,
.container-fluid {
    background: transparent;
    position: relative;
}

/* Main content padding */
main {
    padding-top: 160px; /* Clear header (150px + buffer) */
    padding-bottom: 60px; /* Clear bottom nav */
    flex: 1 0 auto;
}

/* Wrapper for full height */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Loading overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000000, #3533cd);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.loading-container {
    display: flex;
    align-items: center;
    direction: ltr;
}
[dir="rtl"] .loading-container {
    direction: rtl;
}
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.vibz-in {
    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: bold;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 30px #5beb00;
}
.vibz-in span.vibz {
    color: white;
}
.vibz-in span.in {
    color: #5beb00;
}
.service {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #ff6700;
    text-shadow: 0 0 10px #ff6700, 0 0 20px #ff6700;
    margin-top: 0.5px;
}
.separator {
    width: 3px;
    height: 100px;
    background-color: #ff6700;
    box-shadow: 0 0 10px #ff6700;
}
#shape-canvas {
    position: relative;
    width: 200px;
    height: 100px;
}

/* Header (Navbar) styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(90deg, #000000, #3533cd);
    z-index: 1001;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 150px;
    max-width: 100%;
    padding: 0 15px;
}
header .container::after {
    content: "";
    position: absolute;
    height: 1px;
    background-color: #5beb00;
    bottom: 0;
    width: calc(100% - 30px);
    left: 15px;
}
header .logo {
    display: flex;
    align-items: center;
}
header .logo img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
}
header nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
header nav .toggle-icon, header nav .close-icon {
    color: #5beb00;
    font-size: 32px;
    cursor: pointer;
    z-index: 3;
}
header nav .close-icon {
    display: none;
}
header nav ul.active ~ .close-icon {
    display: block;
}
header nav ul.active ~ .toggle-icon {
    display: none;
}
header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
header nav ul li a {
    color: white;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    transition: 0.3s;
}
header nav ul li a.active,
header nav ul li a:hover {
    color: #5beb00;
    border-bottom: 2px solid #5beb00;
}
header nav .language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #100e89 !important;
    border: 1px solid #5beb00;
    border-radius: 4px;
    list-style: none;
    padding: 5px 0;
    margin: 5px 0 0 0;
    z-index: 1000;
    width: 150px;
    max-width: calc(100vw - 30px);
}
header nav .language-dropdown.active {
    display: block;
}
header nav .language-dropdown li a {
    color: #5beb00;
    padding: 5px 10px;
    font-size: 0.9rem;
    background-color: #100e89;
    display: block;
    text-decoration: none;
}
header nav .language-dropdown li a:hover,
header nav .language-dropdown li a[data-selected="true"] {
    background-color: #ff6700;
    color: #ffffff;
}
header nav .language-dropdown[lang="ar"] {
    direction: rtl;
    right: auto;
    left: 0;
}
header nav .language-dropdown[lang="ar"] li a {
    text-align: right;
}

/* Bottom Navigation Styles */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #5beb00 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    color: #ffffff;
    z-index: 1000;
    padding: 0 20px;
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    padding: 10px;
    min-width: 80px; /* Reduced from 130px */
    flex: 1;
}
@media (min-width: 768px) {
    .bottom-nav {
        justify-content: space-around; /* Distribute evenly */
    }
    .bottom-nav-item {
        min-width: auto; /* Allow flex to handle width */
        padding: 5px 10px; /* Reduce padding for more space */
        font-size: 10px; /* Smaller text for desktop */
    }
    .bottom-nav-item i {
        font-size: 18px; /* Smaller icon for desktop */
    }
}
.bottom-nav-item i {
    font-size: 24px;
    margin-bottom: 5px;
}
.bottom-nav-item:hover {
    color: linear-gradient(90deg, #000000, #3533cd);
}
.bottom-nav-item.active {
    color: #5beb00;
    font-weight: bold;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: linear-gradient(90deg, #000000, #3533cd);
    color: #5beb00;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}
#sidebar-right {
    left: auto;
    right: 0;
    transform: translateX(100%);
}
.sidebar.open {
    transform: translateX(0);
}
.sidebar-content {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.sidebar-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}
.content-wrapper {
    margin-left: 0;
    transition: margin-left 0.3s ease;
}
.content-wrapper .shifted {
    margin-left: 250px;
}

/* Right to Left Adjustments */
[dir="rtl"] .sidebar {
    left: auto;
    right: 0;
    transform: translateX(100%);
}
[dir="rtl"] #sidebar-right {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}
[dir="rtl"] .sidebar.open {
    transform: translateX(0);
}
[dir="rtl"] .content-wrapper .shifted {
    margin-left: 0;
    margin-right: 250px;
}
[dir="rtl"] header nav .language-menu {
    margin-left: 0;
    margin-right: 20px;
}
[dir="rtl"] header nav .language-dropdown {
    right: auto;
    left: 0;
}
[dir="rtl"] header nav .language-dropdown li a {
    text-align: right;
}

/* Media Queries */
@media (max-width: 767px) {
    header .logo img {
        max-height: 120px;
    }
    header nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 150px;
        left: 0;
        width: 100%;
        background: linear-gradient(90deg, #000000, #3533cd);
        z-index: 999;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }
    header nav ul.active {
        display: flex;
    }
    header nav ul li {
        margin: 0;
        width: 100%;
    }
    header nav ul li a {
        padding: 10px 15px;
        color: #5beb00;
        text-align: left;
        line-height: 1.5;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    header nav .language-menu {
        color: #5beb00;
        margin-left: 10px;
        font-size: 24px;
    }
    header nav .language-dropdown {
        right: 15px;
        left: auto;
        width: calc(100vw - 30px);
        max-width: 200px;
    }
    .sidebar, #sidebar-right {
        width: 100%;
    }
    .content-wrapper.shifted {
        margin-left: 0;
        margin-right: 0;
    }
}
@media (min-width: 768px) {
    header nav .toggle-icon, header nav .close-icon {
        display: none;
    }
    header nav .language-dropdown {
        left: auto;
        right: 0;
    }
}
@media (max-width: 576px) {
    .bottom-nav-item {
        padding: 10px 15px;
        min-width: 80px;
        font-size: 10px;
    }
    .bottom-nav-item i {
        font-size: 20px;
    }
}

/* Form and card styles */
.form-container {
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 20px;
    background: linear-gradient(90deg, #000000, #3533cd);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #5beb00;
    z-index: 10;
}
.form-container h2 a {
    color: #5beb00;
    width: 100%;
    display: block;
    padding: 15px;
    font-size: 1.75rem;
    font-weight: 700;
}
.form-container .card {
    background: rgba(211, 211, 211, 0.8);
    color: #000000;
    border: none;
}
.form-container .card-body {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    color: #ffffff !important;
}
.form-container .btn-link {
    color: #5beb00;
    text-decoration: none;
}
.form-container .btn-link:hover {
    color: #ff6700;
}
.form-container .error-message {
    color: #ff6700 !important;
    font-size: 0.8rem !important;
}
.form-group label {
    font-weight: bold;
    color: #5beb00;
    font-size: 0.9rem;
}

.form-control {
    background: linear-gradient(90deg, #000000, #3533cd) !important;
    color: #ffffff !important;
    border: 1px solid #5beb00;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 0.9rem;
    height: 35px;
}
.form-control:focus {
    border-color: #ff6700;
    box-shadow: 0 0 0 0.2rem rgba(255, 103, 0, 0.25);
    color: #ffffff !important;
}

/* Specific styles for select elements */
.form-control-select {
    background: #100e89 !important;
    color: #5beb00 !important;
    border: 1px solid #5beb00;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 0.9rem;
    height: 35px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%235beb00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.form-control-select[lang="ar"] {
    direction: rtl;
    padding-right: 30px;
    padding-left: 10px;
    background-position: left 10px center;
}
.form-control-select:focus {
    border-color: #ff6700;
    box-shadow: 0 0 0 0.2rem rgba(255, 103, 0, 0.25);
    color: #5beb00 !important;
}
.form-control-select option {
    background: #100e89;
    color: #5beb00;
    padding: 5px 10px;
}
.form-control-select option:hover {
    background: #100e89;
    color: #ff6700;
}

/* Button styles */
.btn-primary {
    background-color: #5beb00 !important;
    border-color: #5beb00 !important;
    color: #ffffff !important;
}
.btn-primary:hover {
    background-color: #ff6700 !important;
    border-color: #ff6700 !important;
    color: #ffffff !important;
}
.btn-primary.btn-block {
    height: 40px;
    width: auto;
    font-size: 1rem;
}
.btn-secondary {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #ff6700;
}
.btn-secondary:hover {
    background-color: #ff6700;
    border-color: #ff6700;
    color: #000000;
}
.btn[disabled] {
    background-color: #666666;
    border-color: #666666;
    color: #cccccc;
    cursor: not-allowed;
}

/* Card styles */
.card {
    background-color: transparent !important;
    border: none !important;
}
.card-header {
    background-color: rgba(255, 255, 255, 0.1);
    color: #5beb00;
}
.card-body {
    color: #ffffff;
}

/* Autocomplete styles */
.ui-autocomplete {
    background: linear-gradient(90deg, #000000, #3533cd) !important;
    border: 1px solid #5beb00;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
}
.ui-autocomplete[lang="ar"] {
    direction: rtl;
    text-align: right;
}
.ui-menu-item {
    color: #5beb00 !important;
    padding: 8px 10px;
    font-size: 0.9rem;
}
.ui-menu-item:hover, .ui-state-hover {
    background-color: #ff6700 !important;
    color: #ffffff !important;
}
.ui-state-active {
    background: linear-gradient(90deg, #000000, #3533cd) !important;
    color: #ffffff !important;
}
.ui-autocomplete-input {
    background: linear-gradient(90deg, #000000, #3533cd) !important;
    color: #ffffff !important;
    border: 1px solid #5beb00;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 0.9rem;
    font-weight: bold;
    height: 35px;
}
.ui-autocomplete-input[lang="ar"] {
    padding-right: 30px;
    padding-left: 10px;
}
.ui-autocomplete-input:hover {
    background: linear-gradient(90deg, #000000, #3533cd) !important;
    border-color: #ff6700;
    color: #ffffff !important;
}
.ui-autocomplete-input:focus {
    outline: none;
    border-color: #ff6700;
    box-shadow: 0 0 0 0.2rem rgba(255, 103, 0, 0.25);
}

/* Row styles for RTL */
.row {
    flex-direction: row;
}
[dir="rtl"] .row {
    flex-direction: row-reverse;
}

/* Heading and text styles */
h2, h3, h4, h5 {
    color: #5beb00;
    font-weight: 600;
}
p {
    color: #ffffff;
}
strong {
    color: #5beb00;
}

/* Collapse icon */
.collapse-icon {
    font-size: 1rem;
    margin-left: 5px;
}
[dir="sidebar"] .collapse-icon {
    color: #ffffff;
    margin-left: 0;
    margin-right: 5px;
}

/* Alert styles */
.alert-danger {
    color: #ff6700;
}
.alert-warning {
    background-color: rgba(255, 255, 0, 0.2);
    color: #ffffff;
    border-color: #ff6700;
}

/* Spinner styles */
.spinner-border {
    color: #5beb00;
}
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Error message styles */
.error-message {
    color: #ff6700 !important;
    font-size: 0.8rem !important;
}

/* Hotel and flight styles */
.hotel-details, .flight-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
}
.flight-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    vertical-align: middle;
}
.flight-option {
    transition: background-color 0.3s;
}
.flight-option:hover {
    background-color: rgba(255, 255, 255, 0.15);
}
.flight-segment {
    display: block;
    font-size: 0.9rem;
    color: #dddddd;
}
.flight-price {
    display: block;
    font-weight: bold;
    color: #5beb00;
    margin-top: 5px;
}
.flight-details .card-header h4, .flight-title {
    color: #5beb00;
    font-weight: bold;
}
.passenger-form, .guest-form {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}
.passenger-form h5 {
    color: #5beb00;
}

/* Text and connection info */
.text-muted {
    color: #cccccc !important;
}
.alert-danger p.error {
    color: #ff6700;
}
.connection-info {
    font-style: italic;
    color: #cccccc;
}
.flight-details .text-muted {
    color: #ff6700 !important;
}

/* Sticky top */
.sticky-top {
    top: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 8px;
}

/* Bootstrap compatibility */
.navbar-nav, .nav-item, .nav-link {
    color: #5beb00;
}
.navbar-nav .nav-link:hover {
    color: #ff6700;
}

/* Sidebar Toggle Styles */
.sidebar-toggle {
    position: relative;
    display: inline-block;
    margin: 10px auto 20px;
    color: #ffffff;
    padding: 5px 20px;
    cursor: pointer;
    z-index: 1001;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
    text-align: center;
    width: auto;
}
.sidebar-toggle:hover {
    background-color: linear-gradient(90deg, #000000, #3533cd) !important;
    border-color: #ff6700;
    color: #ffffff;
}

/* Sidebar title and menu */
.sidebar-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom-color: #5beb00;
    border-bottom: 1px solid;
    padding-bottom: 10px;
}
.sidebar-link {
    display: block;
    color: #5beb00;
    text-decoration: none;
    padding: 10px;
    padding-left: 15px;
    font-size: 1rem;
    transition: color 0.3s;
}
.sidebar-link:hover {
    color: #ff6700;
}

/* Additional styles from home.html */
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 8px solid #3533cd;
    background-color: #fff;
    z-index: 500;
}
.ui-menu-item {
    padding: 8px;
    color: #28a745;
}
.ui-menu-item:hover {
    background-color: #fd7e14;
    color: #fff;
}
.ui-state-active {
    background-color: #3533cd;
    color: #fff;
}
.form-container .btn-link {
    color: #5beb00;
}
.form-container .btn-link:hover {
    color: #ff6700;
}
.form-container .error-message {
    color: #ff0000;
}
.form-container .form-control {
    background: #100e89 !important;
    color: #fff;
}

/* Remove redundant sidebar-nav styles */
.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

/* Additional styles for dashboard tables */
.table-dark {
    background: #100e89 !important;
    color: #ffffff !important;
    border: 1px solid #5beb00;
}
.table-dark th, .table-dark td {
    border: 1px solid #5beb00;
}
.table-dark thead th {
    background: #3533cd !important;
    color: #5beb00 !important;
}
.table-dark tbody tr:hover {
    background: #3533cd !important;
}

.btn-primary:hover, .btn-primary:focus {
    background: #ff6700 !important;
    border-color: #ff6700 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 103, 0, 0.25);
}
.alert {
    border: 1px solid #5beb00;
    color: #3533cd;
}
.alert-danger {
    background: #ff6700 !important;
}
.alert-success {
    background: #5beb00 !important;
    color: #3533cd !important;
}
.card {
    background: #100e89 !important;
    border: 1px solid #5beb00;
}
.card-header {
    background: #100e89 !important;
    border-bottom: 1px solid #5beb00;
}

/* Fixes for text overflow and bottom nav alignment */
.form-container h2 a {
    white-space: normal;           /* Allow text to wrap to the next line */
    word-wrap: break-word;         /* Break long words if necessary */
    overflow-wrap: break-word;     /* Ensure consistent word wrapping */
    max-width: 100%;               /* Restrict width to container bounds */
    box-sizing: border-box;        /* Include padding in width calculation */
}

.bottom-nav {
    justify-content: space-around; /* Distribute items evenly across the bar */
    padding: 0 10px;              /* Reduce padding to provide more space */
}

.bottom-nav-item {
    flex: 1 1 0;                  /* Allow items to shrink and grow proportionally */
    min-width: 0;                 /* Override min-width to allow shrinking */
    padding: 5px;                 /* Reduce padding for better fit */
}

.bottom-nav-item span {
    white-space: nowrap;          /* Keep text on one line */
    overflow: hidden;             /* Hide excess text */
    text-overflow: ellipsis;      /* Add ellipsis for truncated text */
    max-width: 100%;              /* Restrict text to item width */
}

@media (max-width: 576px) {
    .bottom-nav {
        padding: 0 5px;           /* Further reduce padding on small screens */
    }
    .bottom-nav-item {
        font-size: 8px;           /* Smaller font size for better fit */
        padding: 5px 2px;         /* Tighter padding */
    }
    .bottom-nav-item i {
        font-size: 16px;          /* Smaller icons */
        margin-bottom: 2px;       /* Adjust spacing */
    }
}

/* Styles for new templates: adventure_destinations, budget_travel, luxury_resorts, vacation_planning_guide */

/* Content section container */
.content-section {
    max-width: 1200px; /* Reduced from 1200px for tighter layout */
    margin: 0 auto;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid #5beb00;
    color: #ffffff;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* Headings for new templates */
.content-section h1 {
    color: #5beb00;
    font-size: 2.2rem; /* Slightly smaller for better fit */
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}
.content-section h2 {
    color: #5beb00;
    font-size: 1.5rem; /* Smaller for hierarchy */
    font-weight: 600;
    margin: 15px 0 10px;
}
.content-section h3 {
    color: #ff6700;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0 8px;
}

/* Paragraph and list styles */
.content-section p {
    font-size: 0.95rem; /* Slightly smaller for readability */
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 12px;
}
.content-section ul, .content-section ol {
    padding-left: 20px;
    margin-bottom: 12px;
}
.content-section ul li, .content-section ol li {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 8px;
}
.content-section ul li::marker {
    color: #5beb00;
}

/* Image styles for new templates */
.content-section img {
    max-width: 100%;
    max-height: 350px; /* Tighter constraint for viewport fit */
    height: auto;
    object-fit: contain; /* Prevent distortion */
    border-radius: 8px;
    margin: 10px auto; /* Center images */
    border: 1px solid #5beb00;
    display: block;
    box-sizing: border-box;
}
.content-section .img-full-width {
    width: 100%;
    max-height: 300px; /* Even tighter for banners */
    object-fit: cover; /* Crop to fit */
}
.content-section .img-thumbnail {
    max-width: 180px; /* Smaller thumbnails */
    max-height: 120px;
    margin: 10px auto;
    object-fit: cover;
}

/* Gallery grid for image-heavy templates */
.content-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 15px 0;
}
.content-section .gallery-grid img {
    width: 100%;
    max-height: 120px; /* Tighter for gallery */
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #5beb00;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .content-section {
        padding: 10px;
    }
    .content-section h1 {
        font-size: 1.6rem; /* Smaller for mobile */
    }
    .content-section h2 {
        font-size: 1.3rem;
    }
    .content-section h3 {
        font-size: 0.95rem;
    }
    .content-section img {
        max-height: 180px; /* Smaller for mobile */
    }
    .content-section .img-full-width {
        max-height: 150px;
    }
    .content-section .img-thumbnail {
        max-width: 150px;
        max-height: 100px;
    }
    .content-section .gallery-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .content-section .gallery-grid img {
        max-height: 100px;
    }
}

/* RTL adjustments for Arabic */
[dir="rtl"] .content-section {
    text-align: right;
}
[dir="rtl"] .content-section ul, [dir="rtl"] .content-section ol {
    padding-right: 20px;
    padding-left: 0;
}
[dir="rtl"] .content-section ul li::marker {
    color: #5beb00;
}

/* Button styles for new templates */
.content-section .btn-content {
    display: inline-block;
    padding: 8px 16px;
    background-color: #5beb00;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    margin: 8px 0;
    transition: background-color 0.3s;
}
.content-section .btn-content:hover {
    background-color: #ff6700;
}