/* Abstracts */
@import './abstracts/_variables.css';

/* Base */
@import './base/_reset.css';
@import './base/_typography.css';



@import './layout/navbar.css';
@import './layout/sidebar.css';


@import './pages/login.css';
@import './pages/dashboard.css';
@import './pages/banner.css';

/* Compact admin typography */
.dashboard-wrapper,
.dashboard-wrapper input,
.dashboard-wrapper select,
.dashboard-wrapper textarea,
.dashboard-wrapper button {
    font-size: 13px;
}

.dashboard-wrapper h1 {
    font-size: 18px !important;
}

.dashboard-wrapper h2 {
    font-size: 24px !important;
}

.dashboard-wrapper h3 {
    font-size: 18px !important;
}

.dashboard-wrapper p,
.dashboard-wrapper a,
.dashboard-wrapper span,
.dashboard-wrapper small,
.dashboard-wrapper strong,
.dashboard-wrapper label,
.dashboard-wrapper td,
.dashboard-wrapper th {
    font-size: 13px;
}

.dashboard-wrapper .logo-copy strong {
    font-size: 14px;
}

.dashboard-wrapper .logo-copy small,
.dashboard-wrapper .header-eyebrow {
    font-size: 11px;
}

.dashboard-wrapper .menu-text,
.dashboard-wrapper .side-sub-menu a {
    font-size: 13px;
}

.dashboard-wrapper .banner-list-head p,
.dashboard-wrapper .banner-form-title p {
    font-size: 14px;
}

.dashboard-wrapper .banner-table th {
    font-size: 12px;
}

.dashboard-wrapper .banner-table td {
    font-size: 13px;
}

.dashboard-wrapper .banner-primary-btn,
.dashboard-wrapper .banner-secondary-btn,
.dashboard-wrapper .settings-save-btn,
.dashboard-wrapper .settings-cache-btn,
.dashboard-wrapper .settings-upload-btn,
.dashboard-wrapper .settings-remove-btn {
    font-size: 13px;
}

.dashboard-wrapper .settings-field,
.dashboard-wrapper .banner-field {
    font-size: 13px;
}

.dashboard-wrapper .settings-field input,
.dashboard-wrapper .settings-field textarea {
    font-size: 13px;
}

.dashboard-wrapper .banner-primary-btn,
.dashboard-wrapper .banner-secondary-btn,
.dashboard-wrapper .settings-save-btn,
.dashboard-wrapper .settings-cache-btn,
.dashboard-wrapper .settings-upload-btn,
.dashboard-wrapper .settings-remove-btn,
.dashboard-wrapper .user-status-btn,
.dashboard-wrapper .contact-submit-btn {
    min-height: 36px;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 5px;
}

.dashboard-wrapper .settings-cache-btn {
    min-width: 0;
}

.dashboard-wrapper .settings-save-btn {
    min-width: 92px;
}

.dashboard-wrapper .settings-upload-btn,
.dashboard-wrapper .settings-remove-btn {
    min-height: 40px;
}

.dashboard-wrapper .banner-icon-btn {
    width: 34px;
    height: 34px;
    font-size: 15px;
}

.dashboard-wrapper .profile-btn {
    width: 28px;
    height: 28px;
    font-size: 13px;
}

.dashboard-wrapper .mobile-sidebar-btn {
    width: 34px;
    height: 34px;
    font-size: 20px;
}

.dashboard-wrapper .header-icon-right i {
    font-size: 19px;
    padding: 4px 6px;
}


/* =========================================================
   PROPERTY FILTER CARD
   ========================================================= */

.property-filter-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e7eaf0;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 22px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.055);
}
.property-table-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.property-filter-form {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(260px, 1.8fr) repeat(4, minmax(150px, 1fr)) auto;
    gap: 12px;
    align-items: end;
}

.property-filter-search,
.property-filter-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.property-filter-search label,
.property-filter-field label {
    font-size: 11px;
    font-weight: 700;
    color: #667085;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.property-filter-search input,
.property-filter-field select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #e1e5eb;
    border-radius: 11px;
    background: #f9fafb;
    color: #172033;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    transition: all 0.25s ease;
}

.property-filter-search input::placeholder {
    color: #98a2b3;
}

.property-filter-search input:hover,
.property-filter-field select:hover {
    border-color: #cbd2dc;
    background: #ffffff;
}

.property-filter-search input:focus,
.property-filter-field select:focus {
    border-color: #0b5ed7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.08);
}

.property-filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 46px;
}

.property-filter-actions .banner-btn {
    height: 46px;
    white-space: nowrap;
}


/* =========================================================
   TABLE CARD
   ========================================================= */

.banner-table-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e7eaf0;
    border-radius: 20px;
    overflow: scroll;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.055);
}

.banner-check{
    margin: 10px 10px;
}

/* =========================================================
   TABLE WRAPPER
   ========================================================= */

.banner-table {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd2dc transparent;
}

.banner-table::-webkit-scrollbar {
    height: 7px;
}

.banner-table::-webkit-scrollbar-track {
    background: transparent;
}

.banner-table::-webkit-scrollbar-thumb {
    background: #cbd2dc;
    border-radius: 20px;
}

.property-table {
    width: 100%;
    min-width: 1250px;
    border-collapse: separate;
    border-spacing: 0;
}


/* =========================================================
   TABLE HEADER
   ========================================================= */

.property-table thead th {
    height: 54px;
    padding: 0 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e7eaf0;
    color: #667085;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    text-align: left;
    white-space: nowrap;
}

.property-table thead th:first-child {
    padding-left: 20px;
}

.property-table thead th:last-child {
    padding-right: 20px;
    text-align: right;
}


/* =========================================================
   TABLE BODY
   ========================================================= */

.property-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #edf0f4;
    color: #344054;
    font-size: 13px;
    vertical-align: middle;
    background: #ffffff;
    transition: background 0.2s ease;
}

.property-table tbody tr:last-child td {
    border-bottom: 0;
}

.property-table tbody tr:hover td {
    background: #fbfcfe;
}

.property-table tbody td:first-child {
    padding-left: 20px;
}

.property-table tbody td:last-child {
    padding-right: 20px;
}


/* =========================================================
   SERIAL NUMBER
   ========================================================= */

.serial-cell {
    width: 55px;
    color: #98a2b3 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}


/* =========================================================
   PROPERTY IMAGE + INFO
   ========================================================= */

.property-table-info {
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.property-table-image,
.property-no-image {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 12px;
     
}
.count-image{
 
    display: flex;
    align-items: center;
    gap: 2px;

}

.property-table-image {

    object-fit: contain;
    border: 1px solid #e8ebf0;
    background: #f3f5f7;
}

.property-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f4f8;
    color: #98a2b3;
    border: 1px dashed #d5dbe3;
    font-size: 21px;
}

.property-table-content {
    min-width: 0;
}

.property-table-content h4 {
    margin: 0 0 5px;
    max-width: 245px;
    color: #172033;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-table-content small {
    display: block;
    max-width: 245px;
    color: #98a2b3;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   BADGES
   ========================================================= */

.property-badge-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    flex-wrap: wrap;
}

.property-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 23px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.property-badge.verified {
    color: #087443;
    background: #e9f8f0;
}

.property-badge.featured {
    color: #8a5a00;
    background: #fff5d8;
}


/* =========================================================
   PROPERTY TYPE
   ========================================================= */

.property-type-text {
    color: #344054;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}


/* =========================================================
   SALE / RENT BADGE
   ========================================================= */

.property-listing-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 65px;
    height: 27px;
    padding: 0 9px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.property-listing-badge.sale {
    color: #0759c9;
    background: #edf4ff;
}

.property-listing-badge.rent {
    color: #8a5a00;
    background: #fff6dc;
}


/* =========================================================
   PRICE
   ========================================================= */

.property-price {
    color: #172033;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.property-price span {
    display: block;
    margin-top: 3px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 500;
}


/* =========================================================
   LOCATION
   ========================================================= */

.property-location {
    max-width: 210px;
    color: #475467;
    font-size: 12px;
    line-height: 1.45;
}

.property-location strong {
    display: block;
    margin-bottom: 3px;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   DETAILS
   ========================================================= */

.property-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 105px;
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #667085;
    font-size: 11px;
    white-space: nowrap;
}

.property-details i {
    width: 15px;
    color: #98a2b3;
    font-size: 13px;
}


/* =========================================================
   FEATURES
   ========================================================= */

.property-feature-list {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    max-width: 180px;
}

.property-feature-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 7px;
    background: #f4f6f8;
    color: #667085;
    font-size: 13px;
    transition: all 0.2s ease;
}

.property-feature-list span:hover {
    background: #edf4ff;
    color: #0759c9;
}


/* =========================================================
   STATUS
   ========================================================= */

.banner-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 27px;
    padding: 0 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.banner-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.banner-status.active {
    color: #087443;
    background: #eaf8f0;
}

.banner-status.inactive {
    color: #b42318;
    background: #fff0ee;
}


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.banner-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.banner-icon-btn {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e7ed;
    border-radius: 9px;
    background: #ffffff;
    color: #667085;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.22s ease;
}

.banner-icon-btn:hover {
    color: #0759c9;
    border-color: #b9cff2;
    background: #f3f7ff;
    transform: translateY(-1px);
}

.banner-icon-btn.delete:hover {
    color: #c4322a;
    border-color: #f0c4c0;
    background: #fff5f4;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.banner-empty {
    padding: 70px 25px;
    text-align: center;
}

.banner-empty i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: #f3f5f8;
    color: #98a2b3;
    font-size: 24px;
}

.banner-empty h4 {
    margin: 0 0 6px;
    color: #344054;
    font-size: 15px;
    font-weight: 750;
}

.banner-empty p {
    margin: 0;
    color: #98a2b3;
    font-size: 12px;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.property-pagination {
    padding: 16px 20px;
    border-top: 1px solid #edf0f4;
    background: #ffffff;
}

.property-pagination nav {
    display: flex;
    justify-content: flex-end;
}

.property-pagination svg {
    width: 16px;
    height: 16px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {

    .property-filter-form {
        grid-template-columns: repeat(3, 1fr);
    }

    .property-filter-search {
        grid-column: span 3;
    }

    .property-filter-actions {
        grid-column: span 3;
    }

}

@media (max-width: 768px) {

    .property-filter-card {
        padding: 15px;
        border-radius: 14px;
    }

    .property-filter-form {
        grid-template-columns: 1fr;
    }

    .property-filter-search,
    .property-filter-actions {
        grid-column: auto;
    }

    .property-filter-actions {
        height: auto;
    }

    .property-filter-actions .banner-btn {
        flex: 1;
    }

    .banner-table-card {
        border-radius: 14px;
    }

    .property-table {
        min-width: 1100px;
    }

}