﻿.oli-avatar-wrapper {
    width: 140px;
    height: 140px;
    position: relative;
}

.oli-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.oli-avatar-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #32893b;
    border-radius: 50%;
    padding: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.oli-search-bar {
    background-color: #ffffff;
    border-radius: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); /* enhanced */
    padding: 0.5rem 1rem;
}

.oli-search-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #495057;
    border-right: 1px solid #dee2e6;
}

    .oli-search-item:last-of-type {
        border-right: none;
    }

.oli-search-icon {
    font-size: 1.1rem;
    color: #6c757d;
}

.oli-search-input,
.oli-search-select {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 1rem;
    color: #495057;
}

    .oli-search-input::placeholder {
        color: #adb5bd;
    }

.oli-search-btn {
    background-color: #f1f3f5;
    border-radius: 2rem;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    border: none;
    color: #32893b;
    font-weight: 500;
    transition: background 0.3s ease;
    width: 100%;
    justify-content: center;
}

    .oli-search-btn:hover {
        background-color: #e2e6ea;
    }


.oli-popular-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #32893b;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.oli-img-actions {
    position: absolute;
    bottom: -21px;
    right: 15px;
    display: flex;
    gap: 0.5rem;
    z-index: 4;
}

.oli-btn-circle {
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: #333;
    cursor: pointer;
    position: relative;
}

    .oli-btn-circle:hover {
        background-color: #32893b;
        color: #fff;
        transform: translateY(-2px) scale(1.05);
    }

.icon-wrapper {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

    .icon-wrapper.animate {
        transform: rotate(180deg);
        opacity: 0.7;
    }

.dropdown-menu-custom {
    position: absolute;
    top: 54px;
    right: 0;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    display: none;
    z-index: 10;
    animation: fadeIn 0.2s ease-in-out forwards;
}

    .dropdown-menu-custom.show {
        display: block;
    }

    .dropdown-menu-custom button {
        background: none;
        border: none;
        width: 100%;
        text-align: left;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        color: #333;
        cursor: pointer;
    }

        .dropdown-menu-custom button:hover {
            background-color: #f1f1f1;
        }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.oli-code {
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.oli-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #2d3436;
}

.oli-address {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.features-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

.oli-feature-pill {
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 0.75rem;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex: 1 1 0;
    min-width: 100px;
    max-width: 160px;
    text-align: center;
}

    /* Keep pill icons aligned */
    .oli-feature-pill i {
        margin-right: 6px;
        flex-shrink: 0;
    }


    /* Background colors */
    .oli-feature-pill.units {
        background-color: #32893b;
    }

    .oli-feature-pill.area {
        background-color: #457fca;
    }

    .oli-feature-pill.lot {
        background-color: #6c5ce7;
    }

/* Small screens */
@media (max-width: 575.98px) {
    .oli-feature-pill {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

        .oli-feature-pill i {
            display: none;
            margin-right: 0;
        }
}

/* Medium screens (tablets) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .oli-feature-pill {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

        .oli-feature-pill i {
            margin-right: 6px;
        }
}



/*
.card {
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    overflow: visible;
    transition: transform 0.3s, box-shadow 0.3s;
}
*/
/*    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }*/

.card-img-top {
    height: 190px;
    object-fit: cover;
}

.position-relative img {
    display: block;
    width: 100%;
}

.oli-noimg-caption {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: #495057;
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    pointer-events: none; /* allows clicks to pass through if needed */
    text-transform: capitalize;
}



.oli-project-stat-box {
    text-align: center;
    padding: 20px 10px;
    border-right: 1.7px solid #d2d6d3;
}

    .oli-project-stat-box:last-child {
        border-right: none;
    }

.oli-proj-stat-value {
    font-size: 24px;
    font-weight: bold;
}

.oli-proj-stat-label {
    font-size: 14px;
    color: #555;
}

.oli-proj-icon-wrapper i {
    color: gray;
    display: inline-block; /* important for transform to work */
    transition: transform 0.3s ease-in-out;
}

.oli-project-stat-box:hover .oli-proj-icon-wrapper i {
    color: #32893b;
    animation: wiggle 0.7s ease-in-out infinite;
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-10deg);
    }

    40% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-8deg);
    }

    80% {
        transform: rotate(8deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/*OLI TABLE*/
.oli-table-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    max-width: 100%;
    overflow-x: auto;
}

.oli-table-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.oli-table-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.oli-table-search {
    padding: 10px 40px 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    background: #f9fafb;
    transition: all 0.2s;
    width: 250px;
}

    .oli-table-search:focus {
        outline: none;
        border-color: #4f46e5;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    }

.oli-search-clear {
    position: absolute;
    right: 12px;
    cursor: pointer;
    font-size: 1rem;
    color: #9ca3af;
    background: none;
    border: none;
    outline: none;
}

    .oli-search-clear:hover {
        color: #4b5563;
    }


.oli-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.oli-table-head {
    background: transparent;
}

.oli-table-header {
    text-align: left;
    white-space: normal; /* ✅ Allows wrapping */
    word-break: break-word; /* ✅ Breaks long words if needed */
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #6b7280;
}

.oli-table thead tr:hover,
.oli-table thead th:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
}

.oli-table-row {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    .oli-table-row:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

        .oli-table-row:hover td:first-child {
            border-left: 5px solid #32893b;
            border-top-left-radius: 8px;
            border-bottom-left-radius: 8px;
        }

.oli-table-cell {
    white-space: nowrap;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    font-size: 0.925rem;
}

.oli-table-row:last-child .oli-table-cell {
    border-bottom: none;
}

.oli-table-btn {
    padding: 5px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-right: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

    .oli-table-btn.edit {
        background: #3b82f6;
        color: #fff;
    }

    .oli-table-btn.delete {
        background: #ef4444;
        color: #fff;
    }

.oli-table-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.oli-table-page-btn {
    padding: 0;
    border: 2px solid #fff;
    background-color: #32893b;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .oli-table-page-btn.active {
        background-color: #ffffff;
        color: #32893b;
        border-color: #32893b;
    }

    .oli-table-page-btn:hover:not(:disabled):not(.active) {
        background-color: #1d6a2b;
    }

    .oli-table-page-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }


.oli-table-card {
    display: none;
}

.oli-no-data-row {
    text-align: center;
    color: #6b7280;
}

    .oli-no-data-row td {
        padding: 3rem 1rem;
    }

    .oli-no-data-row i {
        font-size: 2rem;
        color: #9ca3af;
    }

@media (max-width: 768px) {
    .oli-table {
        display: none;
    }

    .oli-table-card {
        display: block;
        background: #ffffff;
        margin-bottom: 1rem;
        padding: 1.25rem;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        border-left: 5px solid #32893b;
        border-top: 1px solid #e5e7eb;
        border-right: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        .oli-table-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        }

        .oli-table-card p {
            margin: 6px 0;
        }

        .oli-table-card .oli-table-actions {
            margin-top: 10px;
        }
}

.oli-unit-pricing-wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.oli-unit-pricing-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.oli-unit-pricing-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

    .oli-unit-pricing-icon i {
        font-size: 20px;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .oli-unit-pricing-icon:hover i {
        font-size: 25px;
        transform: scale(1.2) rotate(10deg);
    }

.oli-unit-pricing-info {
    display: flex;
    flex-direction: column;
}

.oli-unit-pricing-title {
    font-weight: 900;
    font-size: 1.5rem;
    color: #111;
}

    .oli-unit-pricing-title small {
        font-size: 12px;
        color: gray;
    }

.oli-unit-pricing-subtitle {
    font-size: 12px;
    color: #666;
}

.oli-unit-pricing-green-bg {
    background-color: #34c759;
}

.oli-unit-pricing-yellow-bg {
    background-color: #f9c74f;
}

.oli-unit-pricing-red-bg {
    background-color: #f94144;
}


/* Modal Styles */
.modal.oli-modal .modal-dialog {
    max-width: 500px;
    border: none;
    transition: all 0.3s ease-in-out;
}

.modal.oli-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    padding: 30px;
    animation: oli-scaleIn 0.3s ease;
}

.modal.oli-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal.oli-modal .modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
}

.modal.oli-modal .modal-body {
    font-size: 16px;
    color: #555;
}

.modal.oli-modal .modal-footer {
    border-top: none;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 0;
}

.modal.oli-modal .btn-secondary {
    background-color: #e0e0e0;
    color: #333;
    border-radius: 8px;
}

.modal.oli-modal .btn-primary {
    background-color: #32893b;
    border: none;
    border-radius: 8px;
}

.modal-backdrop.show {
    opacity: 0.6;
}

@keyframes oli-scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.oli-qml-summary-wrapper {
    max-width: 100%;
    margin: auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.oli-qml-summary-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.oli-qml-summary-header-icon img {
    width: 120px;
    object-fit: contain;
}

.oli-qml-summary-header-content h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
}

.oli-qml-summary-header-content h2 {
    margin: 4px 0;
    font-size: 18px;
    font-weight: 500;
    color: #555;
}

.oli-qml-summary-header-meta {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.oli-qml-summary-divider {
    border: none;
    border-top: 1px solid #ccc;
    margin: 10px 0 20px;
}

.oli-qml-summary-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

    .oli-qml-summary-filters select {
        width: 20px;
        padding: 10px 14px;
        border: 1px solid #ccc;
        border-radius: 8px;
        background-color: #f0fdf4;
        color: #2f5d3d;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg fill='green' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 18px;
    }

        .oli-qml-summary-filters select:hover {
            border-color: #56b76c;
            background-color: #eafaea;
        }

        .oli-qml-summary-filters select:focus {
            outline: none;
            border-color: #32893b;
            background-color: #eafaea;
        }

.oli-qml-summary-table {
    width: 100%;
    table-layout: fixed; /* Forces equal column widths */
    border-collapse: collapse;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
}

    .oli-qml-summary-table thead tr:first-child {
        background: linear-gradient(to right, #32893b, #56b76c);
        color: #fff;
    }

    .oli-qml-summary-table thead tr:nth-child(2) {
        background: linear-gradient(to right, #3ea749, #6fd58d);
        color: #fff;
    }

    .oli-qml-summary-table th,
    .oli-qml-summary-table td {
        padding: 10px 16px;
        text-align: center;
        font-size: 10px;
        border-bottom: 1px solid #ddd;
        transition: all 0.3s ease;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
    }

    .oli-qml-summary-table th {
        max-width: 140px;
    }

    .oli-qml-summary-table tbody tr:hover td:first-child {
        font-size: 16px;
        font-weight: bold;
        background-color: #d4edda;
        cursor: pointer;
    }

    .oli-qml-summary-table td:hover {
        font-size: 16px;
        font-weight: bold;
        background-color: #d4edda;
        cursor: pointer;
    }

    .oli-qml-summary-table tbody tr {
        background-color: rgba(255, 255, 255, 0.7);
    }

        .oli-qml-summary-table tbody tr:nth-child(even) {
            background-color: rgba(240, 255, 240, 0.6);
        }

        .oli-qml-summary-table tbody tr:hover {
            background-color: #ecfdf5;
            z-index: 1;
            position: relative;
        }

        .oli-qml-summary-table tbody tr.oli-qml-summary-total-row {
            background-color: #d1e7dd;
            font-weight: bold;
        }

    .oli-qml-summary-table th:first-child,
    .oli-qml-summary-table td:first-child {
        width: 220px;
        min-width: 200px;
        white-space: nowrap;
    }

.oli-qml-summary-performance-table {
    width: 100%;
    max-width: 500px;
    margin-top: 30px;
    border-collapse: collapse;
    font-size: 13px;
    background-color: #f9fcf8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

    .oli-qml-summary-performance-table thead {
        background: #d1e7dd;
    }

    .oli-qml-summary-performance-table th,
    .oli-qml-summary-performance-table td {
        padding: 12px 16px;
        font-size: 11px;
        border-bottom: 1px solid #ddd;
    }

    .oli-qml-summary-performance-table th {
        font-weight: 600;
        color: #2f5d3d;
    }

    .oli-qml-summary-performance-table td:first-child {
        font-weight: bold;
        text-align: left;
    }

    .oli-qml-summary-performance-table th:nth-child(2),
    .oli-qml-summary-performance-table th:nth-child(3),
    .oli-qml-summary-performance-table td:nth-child(2),
    .oli-qml-summary-performance-table td:nth-child(3) {
        text-align: center;
    }

@media screen and (max-width: 768px) {
    .oli-qml-summary-header-content h1 {
        font-size: 22px;
    }

    .oli-qml-summary-header-content h2 {
        font-size: 16px;
    }

    .oli-qml-summary-table th,
    .oli-qml-summary-table td,
    .oli-qml-summary-performance-table th,
    .oli-qml-summary-performance-table td,
    .oli-qml-summary-filters select {
        font-size: 13px;
        padding: 8px;
    }
}


.oli-celebrant-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 200px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    padding: 15px 10px;
    text-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    z-index: 1;
}

    .oli-celebrant-card img {
        width: 64px;
        height: 64px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid #4caf50;
        box-shadow: 0 0 4px rgba(76, 175, 80, 0.3);
    }

    .oli-celebrant-card h2 {
        font-size: 14px;
        margin: 8px 0 2px;
        font-weight: 600;
        color: #222;
    }

    .oli-celebrant-card p {
        font-size: 12px;
        color: #666;
    }

    .oli-celebrant-card button {
        background: #4caf50;
        color: white;
        border: none;
        border-radius: 20px;
        padding: 5px 12px;
        font-size: 12px;
        cursor: pointer;
        transition: background 0.3s ease;
        display: flex;
        align-items: center;
        gap: 5px;
        box-shadow: 0 2px 6px rgba(76, 175, 80, 0.25);
    }

        .oli-celebrant-card button:hover {
            background: #43a047;
            transform: translateY(-1px);
        }

    /* Carousel positioning */
    .oli-celebrant-card.center {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
        z-index: 3;
    }

    .oli-celebrant-card.left {
        transform: translate(-130%, -50%) scale(0.9);
        opacity: 1;
        z-index: 2;
    }

    .oli-celebrant-card.right {
        transform: translate(30%, -50%) scale(0.9);
        opacity: 1;
        z-index: 2;
    }

    .oli-celebrant-card.off {
        opacity: 0;
        z-index: 0;
    }


.toggle-item {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

    .toggle-item.expanded {
        max-height: 500px; /* enough to show content */
        opacity: 1;
    }



/*OLI INPUT/SELECT/CHECKBOX START*/
.oli-input-row {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem; /* vertical spacing only */
    column-gap: 1rem; /* no horizontal gap */
}

/* Tablet */
@media (max-width: 768px) {
    .oli-input-row {
        row-gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .oli-input-row {
        row-gap: 2rem;
    }
}


.oli-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 150px;
}

    .oli-input-wrapper input,
    .oli-input-wrapper select {
        width: 100%;
        padding: 0.60rem;
        font-size: .90rem;
        border: 2px solid #ccc;
        outline: none;
        transition: border-color 0.2s ease;
        text-transform: capitalize;
        background: white;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

        .oli-input-wrapper input[type="email"] {
            text-transform: none;
        }

        .oli-input-wrapper input:focus,
        .oli-input-wrapper select:focus {
            border-color: #32893b;
        }

    .oli-input-wrapper .oli-input-label {
        position: absolute;
        left: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        color: #aaa;
        pointer-events: none;
        transition: all 0.2s ease;
        background: transparent;
    }

    .oli-input-wrapper input:focus + .oli-input-label,
    .oli-input-wrapper input:not(:placeholder-shown) + .oli-input-label,
    .oli-input-wrapper select:focus + .oli-input-label,
    .oli-input-wrapper select.has-value + .oli-input-label {
        top: calc(100% + 0.25rem);
        font-size: 0.85rem;
        color: #666;
        transform: none;
    }

    /* Select arrow */
    .oli-input-wrapper select {
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' width='10' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20,50 70,100 120,50' stroke='%23666' stroke-width='20' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.75rem center;
        background-size: 0.65rem;
    }

        /* Select text color for placeholder vs real value */
        .oli-input-wrapper select:invalid {
            color: #aaa;
        }

        .oli-input-wrapper select.has-value {
            color: #000;
        }


    /* --- Make Tagify match .oli-input-wrapper input design --- */
    .oli-input-wrapper .tagify {
        width: 100%;
        height: 100%;
        min-width: 150px;
        min-height: 45px;
        border: 2px solid #ccc;
        border-radius: 0;
        padding: 3.50px;
        font-size: 0.90rem;
        background: white;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        cursor: text;
        transition: border-color 0.2s ease;
    }

    /* ✅ Focus border */
    .oli-input-wrapper .tagify--focus {
        border-color: #32893b;
    }

    /* ✅ Tags inside (selected countries) */
    .oli-input-wrapper .tagify__tag {
        background: #f8f9fa;
        border: 1px solid #ccc;
        border-radius: 4px;
        margin: 1px 2px 1px 0;
        display: flex;
        align-items: center;
        gap: 4px;
        font-weight: 500;
    }

    .oli-input-wrapper .tagify__tag-text {
        text-transform: capitalize;
    }

    /* ✅ Flag icons inside tags */
    .oli-input-wrapper .tagify__tag img {
        width: 16px;
        height: 8px;
        object-fit: cover;
        margin-right: 4px;
    }

    /*  Input text area inside Tagify */
    .oli-input-wrapper .tagify__input {
        flex: 1;
        min-width: 60px;
        border: none !important;
        background: transparent;
        font-size: 0.90rem;
        text-transform: capitalize;
        outline: none;
        padding: 0;
    }

    .oli-input-wrapper .tagify--focus ~ .oli-input-label,
    .oli-input-wrapper .tagify.has-tags ~ .oli-input-label {
        top: calc(100% + 0.25rem);
        font-size: 0.85rem;
        color: #666;
        transform: none;
    }

.custom-radio-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.60rem 1rem;
    border: 2px solid #ccc;
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.custom-radio {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom-radio input[type="radio"] {
        opacity: 0;
        position: absolute;
        width: 0;
        height: 0;
    }

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    background-color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .checkmark::after {
        content: '';
        display: none;
        width: 6px;
        height: 12px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

/* Selected radio button shows checkmark */
.custom-radio input[type="radio"]:checked + .checkmark {
    background-color: #32893b;
    border-color: #32893b;
}

    .custom-radio input[type="radio"]:checked + .checkmark::after {
        display: block;
    }

.radio-label {
    font-size: .85rem;
    color: gray;
    user-select: none;
}

/* Outer border turns green when selected */
.custom-radio-wrapper:has(input:checked) {
    border-color: #32893b;
}

    .custom-radio-wrapper:has(input:checked) .radio-label {
        color: black;
    }

/* Visual style for missing required fields AFTER submit */
.oli-input-wrapper input.is-required,
.oli-input-wrapper select.is-required {
    border-color: #dc3545;
    background-color: #fff0f0;
}

/*OLI INPUT/SELECT/CHECKBOX END*/

.oli-table-hover-effect tbody tr:hover {
    background-color: #bee6c5; /* lighter green */
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.tagify {
    width: 100% !important;
    min-width: 75px; /* 👈 Set a larger starting width */
    box-sizing: border-box;
    display: block;
}

.tagify__input {
    min-width: 1px !important; /* 👈 Prevents tag input from collapsing */
    flex: 1 1 auto;
}

.tagify__tag {
    max-width: 100%;
}


.blink-exclamation {
    color: red;
    font-weight: bold;
    animation: blink 1s infinite !important;
    font-size: 15px;
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}


/*FORM WIZARD*/
:root {
    --primary: #32893b;
    --primary-dark: #276c2f;
    --bg-light: #f4f7fa;
    --text-dark: #333;
}

.wizard-container {
    background: #fff;
    width: 100%;
    overflow-y: auto;
}

/* Progress bar */
.oli-bis .progressbar {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    counter-reset: step;
    overflow-x: auto;
    padding-bottom: 10px;
    position: relative;
}

    .oli-bis .progressbar::-webkit-scrollbar {
        height: 6px;
    }

    .oli-bis .progressbar::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }

    .oli-bis .progressbar li {
        list-style: none;
        text-align: center;
        position: relative;
        flex-shrink: 0;
        min-width: 180px;
        color: #999;
        font-size: 14px;
        font-weight: 500;
    }

        .oli-bis .progressbar li::before {
            counter-increment: step;
            content: counter(step);
            width: 34px;
            height: 34px;
            border: 2px solid var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 8px;
            border-radius: 50%;
            background: #fff;
            color: var(--primary);
            font-weight: bold;
            transition: 0.3s;
            position: relative;
            z-index: 2;
        }

        /* Connector line */
        .oli-bis .progressbar li::after {
            content: "";
            position: absolute;
            top: 17px; /* align with circle center */
            left: -80%; /* extend to the left */
            width: 180%; /* total length covering left + right */
            height: 4px;
            background: #e0e0e0;
            z-index: 1;
        }

        .oli-bis .progressbar li.active {
            color: var(--primary);
        }

            .oli-bis .progressbar li.active::before {
                background: var(--primary);
                color: #fff;
                box-shadow: 0 0 0 4px rgba(50,137,59,0.15);
            }

/* Form steps */
.oli-bis .form-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

    .oli-bis .form-step.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.oli-bis .btns {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.oli-bis .btn {
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    align-content: center;
}

    .oli-bis .btn:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(50,137,59,0.25);
    }

    .oli-bis .btn[disabled] {
        background: #ccc;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }

.oli-bis h3 {
    color: var(--primary);
    margin-bottom: 10px;
}
/*FORM WIZARD*/
/* Tagify required + invalid red border */
.tagify.is-invalid {
    border: 1px solid #dc3545 !important;
    background-color: #ffe5e5 !important;
    border-radius: 4px;
}

    /* Optional: remove default shadow when invalid */
    .tagify.is-invalid .tagify__input {
        box-shadow: none !important;
    }




/* ===== Custom OLI Reservation Table ===== */
.oli-reservation-table {
    width: 100%;
    border-collapse: collapse; /* strict borders */
    background: #fff;
}

    .oli-reservation-table thead {
        background: #32893b;
        color: #fff;
    }

        .oli-reservation-table thead th {
            padding: 12px 16px;
            text-align: left;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
            border: 1px solid #2b7333;
        }


    .oli-reservation-table td {
        padding: 12px 16px;
        font-size: 14px;
        color: #333;
        border: 1px solid #ccc;
    }

    .oli-reservation-table tbody tr.active {
        background: #d4f0d8 !important;
    }

/* Responsive */
@media (max-width: 768px) {
    .oli-reservation-table thead {
        display: none;
    }

    .oli-reservation-table,
    .oli-reservation-table tbody,
    .oli-reservation-table tr,
    .oli-reservation-table td {
        display: block;
        width: 100%;
    }

        .oli-reservation-table tr {
            margin-bottom: 12px;
            background: #fff;
            border: 1px solid #ccc;
            padding: 8px;
        }

        .oli-reservation-table td {
            padding: 10px 12px;
            text-align: right;
            position: relative;
            border: none;
            border-bottom: 1px solid #eee;
        }

            .oli-reservation-table td::before {
                content: attr(data-label);
                position: absolute;
                left: 12px;
                font-weight: bold;
                color: #32893b;
                text-transform: uppercase;
                font-size: 12px;
            }
}



.modern-drop-td {
    padding: 10px;
    background: #f5f6fa;
    border-radius: 8px;
    border: 1px solid #dfe4ea;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
    font-family: "Segoe UI", sans-serif;
}

    .modern-drop-td:hover {
        background: #eceff5;
    }

.modern-dropdown {
    position: absolute;
    display: none;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    width: 160px;
    animation: fadeIn 0.15s ease-out;
    z-index: 9999;
    overflow: hidden; 
}

    .modern-dropdown div {
        padding: 10px 14px;
        cursor: pointer;
        transition: 0.2s;
        font-size: 14px;
    }

        .modern-dropdown div:hover {
            background: #f1f3f7;
        }

/* Smooth dropdown animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* Small green badge for Flatpickr */
.fp-badge {
    position: absolute;
    top: 2px; /* move upward */
    right: 3px; /* move to the right */
    background: #28a745; /* green like your screenshot */
    color: white;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 12px; /* pill shape */
    line-height: 1;
    z-index: 5;
    pointer-events: none; /* so clicking still selects the date */
} 

.flatpickr-day.selected .fp-badge {
    background: #ffffff !important;
    color: #000000 !important;
}