/* =========================================================
   AVEROLA
   GLOBAL DESIGN SYSTEM
   ========================================================= */

:root {
    --primary: #171717;
    --primary-light: #262626;
    --primary-soft: #404040;

    --accent: #d89b32;
    --accent-dark: #b7791f;
    --accent-light: #f8e7c0;
    --accent-soft: #fff8e8;

    --background: #f5f5f3;
    --surface: #ffffff;
    --surface-soft: #fafafa;

    --text: #171717;
    --text-secondary: #404040;
    --muted: #737373;
    --muted-light: #a3a3a3;

    --success: #16a34a;
    --success-bg: #f0fdf4;
    --success-border: #bbf7d0;

    --warning: #d97706;
    --warning-bg: #fffbeb;
    --warning-border: #fde68a;

    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --danger-border: #fecaca;

    --info: #525252;
    --info-bg: #f5f5f5;

    --border: #e5e5e5;
    --border-dark: #d4d4d4;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.10);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --sidebar-width: 250px;

    --transition: 0.2s ease;
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: var(--background);
    color: var(--text);

    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

::selection {
    background: var(--accent);
    color: var(--primary);
}


/* =========================================================
   GENERAL LAYOUT
   ========================================================= */

.container {
    display: flex;
    min-height: 100vh;
}

.content,
.main-content,
.rentora-main {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    padding: 35px 40px;
}

.content-inner {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar,
.rentora-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;

    width: var(--sidebar-width);

    background: var(--primary);
    color: white;

    padding: 24px 16px;

    display: flex;
    flex-direction: column;

    z-index: 1000;
    overflow-y: auto;

    border-right: 1px solid #262626;
}


/* =========================================================
   SIDEBAR BRAND
   ========================================================= */

.brand,
.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 8px 10px 30px;
}

.brand-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--accent);
    color: var(--primary);

    border-radius: 11px;

    font-size: 20px;
    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(216, 155, 50, 0.20);
}

.brand h2,
.sidebar-logo {
    margin: 0;

    color: white;

    font-size: 20px;
    font-weight: 800;
}

.brand span {
    display: block;

    color: #a3a3a3;

    font-size: 10px;
    margin-top: 2px;
}


/* =========================================================
   SIDEBAR NAVIGATION
   ========================================================= */

.sidebar-nav,
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-nav a,
.sidebar-menu a,
.sidebar > a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 13px;

    border-radius: var(--radius-sm);

    color: #bdbdbd;

    font-size: 14px;
    font-weight: 500;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.sidebar-nav a span,
.sidebar-menu a span {
    width: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
}

.sidebar-nav a:hover,
.sidebar-menu a:hover,
.sidebar > a:hover {
    background: #262626;
    color: white;
}

.sidebar-nav a.active,
.sidebar-menu a.active,
.sidebar-nav a.sidebar-active {
    background: var(--accent);
    color: var(--primary);

    font-weight: 700;

    box-shadow:
        0 6px 16px rgba(216, 155, 50, 0.15);
}


/* =========================================================
   SIDEBAR BOTTOM
   ========================================================= */

.sidebar-bottom {
    margin-top: auto;

    padding-top: 18px;

    border-top: 1px solid #2d2d2d;
}

.sidebar-user,
.user-mini {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 8px;
    margin-bottom: 12px;
}

.user-avatar,
.avatar {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--accent);
    color: var(--primary);

    font-weight: 800;
}

.sidebar-user strong,
.user-mini strong {
    display: block;

    color: white;

    font-size: 13px;
}

.sidebar-user small,
.user-mini small {
    color: #a3a3a3;
    font-size: 11px;
}


/* =========================================================
   LOGOUT
   ========================================================= */

.logout-btn,
.sidebar .btn.red {
    width: 100%;

    border: 0;

    background: #2a1b1b;
    color: #fca5a5;

    padding: 11px 13px;

    border-radius: var(--radius-sm);

    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}

.logout-btn:hover,
.sidebar .btn.red:hover {
    background: #3a2020;
    color: #fecaca;
}


/* =========================================================
   HEADER
   ========================================================= */

.header,
.page-header {
    margin-bottom: 28px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
    margin-bottom: 28px;
}

.topbar h1,
.page-header h1,
.header h1 {
    margin: 0;

    color: var(--text);

    font-size: 30px;
    font-weight: 800;

    letter-spacing: -0.5px;
}

.topbar p,
.page-header p,
.header p {
    margin: 6px 0 0;

    color: var(--muted);

    font-size: 14px;
}

.page-label {
    display: block;

    margin-bottom: 5px;

    color: var(--accent-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}


/* =========================================================
   HEADER HERO
   ========================================================= */

.header,
.page-header.hero {
    background: var(--primary);
    color: white;

    padding: 28px;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.header h1,
.page-header.hero h1 {
    color: white;
}

.header p,
.page-header.hero p {
    color: #d4d4d4;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn,
.primary-btn,
.request-btn,
.request-house-btn,
.view-house-btn,
.pay-btn,
.pay-now-btn,
.add-house-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 42px;

    padding: 10px 17px;

    border: 1px solid transparent;

    border-radius: var(--radius-sm);

    font-size: 13px;
    font-weight: 700;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.btn:hover,
.primary-btn:hover,
.request-btn:hover,
.request-house-btn:hover,
.view-house-btn:hover,
.pay-btn:hover,
.pay-now-btn:hover,
.add-house-btn:hover {
    transform: translateY(-1px);
}


/* PRIMARY */

.btn.blue,
.primary-btn,
.request-btn,
.request-house-btn,
.pay-btn {
    background: var(--primary);
    color: white;
}

.btn.blue:hover,
.primary-btn:hover,
.request-btn:hover,
.request-house-btn:hover,
.pay-btn:hover {
    background: var(--primary-light);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.12);
}


/* GOLD */

.btn.gold,
.add-house-btn,
.btn.yellow {
    background: var(--accent);
    color: var(--primary);
}

.btn.gold:hover,
.add-house-btn:hover,
.btn.yellow:hover {
    background: var(--accent-dark);
    color: white;
}


/* GREEN */

.btn.green,
.pay-now-btn {
    background: var(--success);
    color: white;
}

.btn.green:hover,
.pay-now-btn:hover {
    background: #15803d;
}


/* RED */

.btn.red,
.danger-btn {
    background: var(--danger);
    color: white;
}

.btn.red:hover,
.danger-btn:hover {
    background: #b91c1c;
}


/* GRAY */

.btn.gray {
    background: #e5e5e5;
    color: #404040;
}

.btn.gray:hover {
    background: #d4d4d4;
}


/* OUTLINE */

.btn.outline {
    background: white;
    color: var(--primary);

    border-color: var(--border-dark);
}

.btn.outline:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}


/* =========================================================
   FORMS
   ========================================================= */

.form-group {
    margin-bottom: 18px;
}

label,
.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;

    padding: 12px 13px;

    background: white;
    color: var(--text);

    border: 1px solid var(--border-dark);

    border-radius: var(--radius-sm);

    outline: none;

    font-size: 14px;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

input::placeholder,
textarea::placeholder {
    color: var(--muted-light);
}

input:focus,
textarea:focus,
select:focus {
    background: white;

    border-color: var(--accent);

    box-shadow:
        0 0 0 3px rgba(216, 155, 50, 0.12);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}


/* =========================================================
   ALERTS
   ========================================================= */

.alert,
.rentora-alert {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 16px;

    margin-bottom: 20px;

    border-radius: var(--radius-sm);

    font-size: 13px;
    font-weight: 600;
}

.alert-success,
.alert.success,
.rentora-alert.success,
.success-alert {
    background: var(--success-bg);
    color: #166534;
    border: 1px solid var(--success-border);
}

.alert-danger,
.alert-error,
.alert.error,
.rentora-alert.error,
.error-alert {
    background: var(--danger-bg);
    color: #991b1b;
    border: 1px solid var(--danger-border);
}

.alert-warning,
.alert.warning {
    background: var(--warning-bg);
    color: #92400e;
    border: 1px solid var(--warning-border);
}


/* =========================================================
   CARDS
   ========================================================= */

.card,
.modern-card,
.empty-card {
    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}

.card,
.modern-card {
    padding: 24px;
}

.card h2,
.card h3,
.modern-card h3 {
    color: var(--text);
}

.card h2 {
    margin-top: 0;
}

.card p {
    color: var(--text-secondary);
}


/* =========================================================
   GENERAL CARD CONTAINER
   ========================================================= */

.card-container {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(230px, 1fr));

    gap: 18px;
}


/* =========================================================
   PROPERTY GRID
   ========================================================= */

.houses-grid,
.properties-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(280px, 1fr));

    gap: 24px;

    align-items: start;
}


/* =========================================================
   PROPERTY CARD
   ========================================================= */

.house-card,
.property-card {
    position: relative;

    width: 100%;
    max-width: 360px;

    margin: 0 auto;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    overflow: hidden;

    padding: 0;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.house-card:hover,
.property-card:hover {
    transform: translateY(-4px);

    border-color: #d6c39b;

    box-shadow: var(--shadow-md);
}


/* =========================================================
   PROPERTY MEDIA
   IMPORTANT FIX:
   One controlled media area.
   ========================================================= */

.media-gallery {
    position: relative;

    width: 100%;

    height: 240px;

    margin: 0;

    padding: 0;

    overflow: hidden;

    background: #eeeeee;
}

.house-card .media-gallery,
.property-card .media-gallery {
    height: 240px;
}

.house-card .media-gallery img,
.house-card .media-gallery video,
.property-card .media-gallery img,
.property-card .media-gallery video {
    display: block;

    width: 100%;
    height: 240px;

    max-width: none;

    margin: 0;
    padding: 0;

    object-fit: cover;

    border: 0;
    border-radius: 0;

    background: #eeeeee;
}


/* =========================================================
   PROPERTY IMAGE
   ========================================================= */

.house-image {
    position: relative;

    width: 100%;
    height: 225px;

    background: #e5e5e5;

    overflow: hidden;
}

.house-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.house-card:hover .house-image img {
    transform: scale(1.035);
}


/* =========================================================
   NO PROPERTY MEDIA
   ========================================================= */

.no-media,
.no-house-image {
    width: 100%;
    height: 240px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 8px;

    background: #f5f5f5;

    color: var(--muted);

    text-align: center;
}

.no-media {
    font-size: 14px;
}

.no-house-image {
    font-size: 38px;
}

.no-house-image span {
    margin-top: 5px;
    font-size: 13px;
}


/* =========================================================
   PROPERTY CONTENT
   ========================================================= */

.property-info,
.house-card-content {
    padding: 18px;
}

.house-card h2,
.property-card h2,
.house-card-content h2 {
    margin: 0 0 8px;

    color: var(--text);

    font-size: 20px;
    font-weight: 800;
}

.house-card p,
.property-card p {
    margin: 7px 0;

    color: var(--text-secondary);

    font-size: 13px;
}


/* =========================================================
   PROPERTY LOCATION
   ========================================================= */

.house-location {
    margin-bottom: 12px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   PROPERTY DESCRIPTION
   ========================================================= */

.house-description {
    min-height: 42px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.55;
}


/* =========================================================
   PROPERTY FEATURES
   ========================================================= */

.house-features {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    padding: 13px 0;

    margin: 14px 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.house-features span {
    padding: 5px 8px;

    background: #fafafa;

    border: 1px solid var(--border);

    border-radius: 6px;

    color: var(--text-secondary);

    font-size: 11px;
}


/* =========================================================
   PROPERTY PRICE
   ========================================================= */

.house-price {
    margin-bottom: 15px;
}

.house-price strong {
    color: var(--primary);

    font-size: 20px;
    font-weight: 800;
}

.house-price span {
    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   PROPERTY ACTIONS
   ========================================================= */

.house-actions {
    display: flex;

    gap: 9px;
}

.view-house-btn,
.request-house-btn {
    flex: 1;

    text-align: center;
}

.view-house-btn {
    background: white;

    color: var(--primary);

    border: 1px solid var(--border-dark);
}

.view-house-btn:hover {
    background: var(--accent-soft);

    border-color: var(--accent);

    color: var(--accent-dark);
}

.request-house-btn {
    background: var(--primary);
    color: white;
}


/* =========================================================
   PROPERTY BADGES
   ========================================================= */

.available-badge,
.status {
    display: inline-flex;

    align-items: center;

    padding: 6px 10px;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 800;
}

.available-badge {
    position: absolute;

    top: 13px;
    right: 13px;

    z-index: 10;

    background: white;

    color: var(--success);

    box-shadow: var(--shadow-sm);
}


/* =========================================================
   STATUS BADGES
   ========================================================= */

.status-dot {
    width: 7px;
    height: 7px;

    display: inline-block;

    border-radius: 50%;

    background: currentColor;
}

.status-active,
.status-green {
    background: var(--success-bg);
    color: var(--success);
}

.status-red {
    background: var(--danger-bg);
    color: var(--danger);
}

.status-gray {
    background: #f5f5f5;
    color: #525252;
}

.status-blue {
    background: var(--accent-light);
    color: var(--accent-dark);
}


/* =========================================================
   ⭐ FAVORITES
   ========================================================= */

/*
   IMPORTANT:
   There is ONE main favorite button style.
   This prevents the previous conflicting definitions.
*/

.favorite-form {
    margin: 0;
}

.favorite-overlay {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 30;
}

.favorite-btn,
.favorite-btn-small {
    width: 46px;
    height: 46px;

    padding: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(229, 229, 229, 0.9);

    background: rgba(255, 255, 255, 0.96);

    color: #dc2626;

    font-size: 23px;

    cursor: pointer;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.favorite-btn:hover,
.favorite-btn-small:hover {
    transform: scale(1.08);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.20);
}

.favorite-btn:active,
.favorite-btn-small:active {
    transform: scale(0.94);
}

.favorite-btn.favorited,
.favorite-btn-small.saved {
    background: #fff1f2;

    border-color: #fecdd3;

    color: #e11d48;
}

.favorite-heart {
    font-size: 23px;
    line-height: 1;
}


/* =========================================================
   FAVORITE ADD / REMOVE LARGE BUTTON
   ========================================================= */

.favorite-btn.add,
.favorite-btn.remove {
    width: auto;
    min-width: 46px;

    height: 46px;

    padding: 0 16px;

    border-radius: var(--radius-sm);

    font-size: 13px;
    font-weight: 700;
}

.favorite-btn.add {
    background: #fff1f2;

    color: #be123c;

    border: 1px solid #fecdd3;
}

.favorite-btn.remove {
    background: #ffe4e6;

    color: #be123c;

    border: 1px solid #fda4af;
}


/* =========================================================
   FAVORITE ACTION
   ========================================================= */

.favorite-action {
    display: flex;

    justify-content: flex-end;

    margin: 8px 0;
}


/* =========================================================
   FAVORITE MESSAGE
   ========================================================= */

.favorite-message {
    padding: 12px 16px;

    margin-bottom: 20px;

    border-radius: 10px;

    font-weight: 600;
}

.favorite-message.success {
    background: #dcfce7;

    color: #166534;

    border-left: 5px solid #22c55e;
}

.favorite-message.error {
    background: #fee2e2;

    color: #991b1b;

    border-left: 5px solid #ef4444;
}


/* =========================================================
   FAVORITES PAGE
   ========================================================= */

.favorites-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 24px;
}

.favorites-title {
    margin: 0;

    color: var(--text);

    font-size: 30px;
    font-weight: 800;
}

.favorites-subtitle {
    margin: 6px 0 0;

    color: var(--muted);

    font-size: 14px;
}

.favorites-empty {
    padding: 70px 25px;

    text-align: center;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}

.favorites-empty-icon {
    width: 72px;
    height: 72px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--accent-light);

    color: #dc2626;

    border-radius: 20px;

    font-size: 34px;
}


/* =========================================================
   HOUSE DETAILS
   ========================================================= */

.house-header {
    background: white;

    padding: 26px;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    margin-bottom: 20px;
}

.house-header h1 {
    margin: 0 0 7px;

    color: var(--text);

    font-size: 30px;
    font-weight: 800;
}

.house-header p {
    margin: 0;

    color: var(--muted);
}

.house-info {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

    margin-top: 20px;
}

.info-item {
    padding: 15px;

    background: #fafafa;

    border: 1px solid var(--border);

    border-radius: var(--radius-sm);
}

.info-item strong {
    display: block;

    margin-bottom: 4px;

    color: var(--text-secondary);

    font-size: 12px;
}

.info-item span {
    color: var(--muted);

    font-size: 14px;
}

.price {
    color: var(--accent-dark);

    font-size: 22px;
    font-weight: 800;
}


/* =========================================================
   HOUSE DETAILS GALLERY
   ========================================================= */

.image-gallery {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: 14px;
}

.house-media-item {
    position: relative;

    overflow: hidden;

    min-height: 220px;

    background: #f5f5f5;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);
}

.house-image-large,
.house-video-large {
    display: block;

    width: 100%;
    height: 260px;

    object-fit: cover;

    border: 0;
    border-radius: 0;

    background: #000;
}

.house-media-item img {
    transition: transform 0.35s ease;
}

.house-media-item:hover img {
    transform: scale(1.025);
}

.empty-media {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 220px;

    color: var(--muted);

    text-align: center;
}

.empty-media-icon {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    background: var(--accent-light);

    color: var(--accent-dark);

    border-radius: 14px;

    font-size: 24px;
}


/* =========================================================
   LOCATION
   ========================================================= */

.house-location-details {
    padding: 18px;

    background: var(--surface-soft);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);
}

.house-location-details p {
    margin: 9px 0;

    color: var(--text-secondary);

    font-size: 13px;
}

.house-location-details p:first-child {
    margin-top: 0;
}

.house-location-details p:last-child {
    margin-bottom: 0;
}

.house-location-details strong {
    color: var(--text);
}

.map-container {
    overflow: hidden;

    margin-top: 15px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-xs);
}

.map-container iframe {
    display: block;

    width: 100%;
    height: 360px;

    border: 0;
}

.map-action {
    margin-top: 13px;
}


/* =========================================================
   PROPERTY INFORMATION
   ========================================================= */

.property-information-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 13px;
}

.property-information-item {
    padding: 17px;

    background: var(--surface-soft);

    border: 1px solid var(--border);

    border-radius: var(--radius-sm);
}

.property-information-item span {
    display: block;

    margin-bottom: 5px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   DASHBOARD
   ========================================================= */

.summary-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

    margin-bottom: 22px;
}

.summary-card {
    display: flex;

    align-items: center;

    gap: 13px;

    background: white;

    padding: 20px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);
}

.summary-icon {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--accent-light);

    color: var(--accent-dark);
}

.summary-card span {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 11px;
}

.summary-card strong {
    color: var(--text);

    font-size: 17px;
}


/* =========================================================
   DASHBOARD CHART
   ========================================================= */

.chart-container {
    width: 100%;
    max-width: 800px;

    margin-top: 25px;

    padding: 25px;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}


/* =========================================================
   DASHBOARD COLUMNS
   ========================================================= */

.lease-columns {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.8fr)
        minmax(400px, 1.2fr);

    gap: 18px;
}


/* =========================================================
   PROPERTY CARD DASHBOARD
   ========================================================= */

.property-card-dark {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 26px;

    margin-bottom: 18px;

    background: var(--primary);

    color: white;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.property-icon {
    width: 60px;
    height: 60px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--accent);

    color: var(--primary);

    border-radius: 14px;

    font-size: 27px;
}

.property-info {
    flex: 1;
}

.property-title-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.property-title-row h2 {
    margin: 3px 0;

    font-size: 23px;
}

.property-title-row p {
    margin: 3px 0 0;

    color: #d4d4d4;

    font-size: 13px;
}


/* =========================================================
   PROPERTY DETAILS GRID
   ========================================================= */

.property-detail-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 13px;
}

.property-detail-grid div {
    padding: 14px;

    background: #fafafa;

    border: 1px solid var(--border);

    border-radius: var(--radius-sm);
}

.property-detail-grid span {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 10px;
}

.property-detail-grid strong {
    color: var(--text);

    font-size: 13px;
}


/* =========================================================
   SEARCH
   ========================================================= */

.house-search {
    margin-bottom: 22px;
}

.search-box {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 7px 12px;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-xs);
}

.search-box input {
    margin: 0;

    padding: 10px;

    border: 0;

    box-shadow: none;
}

.search-box input:focus {
    border: 0;

    box-shadow: none;
}


/* =========================================================
   EMPTY STATES
   ========================================================= */

.empty-houses,
.empty-card,
.empty-lease {
    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    text-align: center;

    box-shadow: var(--shadow-sm);
}

.empty-houses {
    grid-column: 1 / -1;

    padding: 70px 25px;
}

.empty-card {
    padding: 40px 25px;
}

.empty-lease {
    margin-top: 25px;

    padding: 75px 30px;
}

.empty-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--accent-light);

    color: var(--accent-dark);

    border-radius: 18px;

    font-size: 30px;
}

.empty-houses h2,
.empty-card h2,
.empty-lease h2 {
    color: var(--text);

    font-size: 21px;
}

.empty-houses p,
.empty-card p,
.empty-lease p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   PAYMENT PAGE
   ========================================================= */

.payment-page {
    padding: 35px;
}

.payment-card {
    width: 100%;
    max-width: 620px;

    margin: 30px auto;

    background: white;

    padding: 32px;

    border: 1px solid var(--border);

    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-md);
}

.payment-house {
    padding-bottom: 20px;

    margin-bottom: 25px;

    border-bottom: 1px solid var(--border);
}

.payment-house h2 {
    margin-top: 0;

    color: var(--text);
}

.payment-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-bottom: 15px;

    border-bottom: 1px solid var(--border);
}

.payment-header h2 {
    color: var(--text);
}

.payment-details {
    margin-top: 20px;
}

.payment-details p {
    margin: 10px 0;

    color: var(--text-secondary);

    font-size: 14px;
}


/* =========================================================
   PAYMENT BADGES
   ========================================================= */

.paid-badge {
    background: var(--success-bg);

    color: var(--success);

    border: 1px solid var(--success-border);

    padding: 7px 12px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 800;
}

.pending-badge {
    background: var(--warning-bg);

    color: var(--warning);

    border: 1px solid var(--warning-border);

    padding: 7px 12px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 800;
}


/* =========================================================
   PAYMENT STATUS
   ========================================================= */

.payment-status {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 16px;

    margin-bottom: 18px;

    border-radius: var(--radius-md);
}

.payment-status.paid {
    background: var(--success-bg);

    color: #166534;
}

.payment-status.overdue {
    background: var(--danger-bg);

    color: #991b1b;
}

.payment-status.due {
    background: var(--warning-bg);

    color: #92400e;
}

.payment-status-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: white;

    font-weight: 900;
}


/* =========================================================
   RECEIPTS
   ========================================================= */

.receipt-container {
    width: 100%;
    max-width: 650px;

    margin: 40px auto;

    padding: 38px;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.receipt-header {
    text-align: center;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}

.receipt-header h1 {
    margin: 0;

    color: var(--accent-dark);

    font-size: 26px;
}

.receipt-section {
    margin-top: 20px;

    padding: 18px;

    background: #fafafa;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);
}

.receipt-section h3 {
    margin-top: 0;

    color: var(--text);

    font-size: 15px;
}

.receipt-section p {
    margin: 8px 0;

    color: var(--text-secondary);

    font-size: 13px;
}

.receipt-footer {
    text-align: center;

    margin-top: 25px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   LEASE
   ========================================================= */

.lease-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    overflow: hidden;

    margin-bottom: 22px;
}

.lease-card-header,
.lease-title {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding: 25px;

    border-bottom: 1px solid var(--border);
}

.lease-card-header h2 {
    margin: 5px 0;

    font-size: 23px;
}

.property-label,
.small-label {
    color: var(--muted);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.location {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}

.lease-details {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;

    padding: 25px;
}

.lease-box {
    background: #fafafa;

    border: 1px solid var(--border);

    padding: 17px;

    border-radius: var(--radius-sm);
}

.lease-box h4 {
    margin: 0 0 7px;

    color: var(--muted);

    font-size: 12px;
}

.lease-box p {
    margin: 0;

    color: var(--text);

    font-size: 16px;

    font-weight: 800;
}


/* =========================================================
   PAYMENT AREA
   ========================================================= */

.payment-area {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid var(--border);
}

.paid-status {
    padding: 14px;

    background: var(--success-bg);

    color: #166534;

    border: 1px solid var(--success-border);

    border-radius: var(--radius-sm);

    font-weight: 700;
}

.unpaid-status {
    padding: 14px;

    background: var(--warning-bg);

    color: #92400e;

    border: 1px solid var(--warning-border);

    border-radius: var(--radius-sm);

    font-weight: 700;
}


/* =========================================================
   TABLES
   ========================================================= */

table {
    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    overflow: hidden;
}

th {
    padding: 13px 15px;

    background: #fafafa;

    color: var(--text-secondary);

    border-bottom: 1px solid var(--border);

    font-size: 11px;
    font-weight: 800;

    text-align: left;
}

td {
    padding: 13px 15px;

    color: var(--text-secondary);

    border-bottom: 1px solid var(--border);

    font-size: 13px;
}

tr:last-child td {
    border-bottom: 0;
}

tr:hover td {
    background: #fcfcfb;
}


/* =========================================================
   RENTAL REQUEST
   ========================================================= */

.rental-request-card {
    position: relative;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    padding: 24px;

    box-shadow: var(--shadow-sm);

    margin-bottom: 18px;
}

.rental-request-card h2 {
    margin-top: 0;

    color: var(--text);

    font-size: 19px;
}

.request-message {
    background: #fafafa;

    border: 1px solid var(--border);

    padding: 14px;

    border-radius: var(--radius-sm);

    margin: 15px 0;
}

.request-message strong {
    display: block;

    margin-bottom: 6px;

    color: var(--text-secondary);

    font-size: 12px;
}

.request-message p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}

.request-status {
    display: inline-flex;

    padding: 6px 11px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 800;
}

.request-status.pending {
    background: var(--warning-bg);
    color: var(--warning);
}

.request-status.approved {
    background: var(--success-bg);
    color: var(--success);
}

.request-status.rejected {
    background: var(--danger-bg);
    color: var(--danger);
}

.request-actions {
    display: flex;

    gap: 10px;

    margin-top: 18px;
}

.request-actions form {
    flex: 1;
}

.request-actions .btn {
    width: 100%;
    margin: 0;
}


/* =========================================================
   RENEWAL
   ========================================================= */

.renewal-message {
    padding: 13px;

    margin-bottom: 15px;

    background: #fafafa;

    border: 1px solid var(--border);

    border-radius: var(--radius-sm);

    color: var(--muted);

    font-size: 12px;
}

.renewal-message.pending {
    background: var(--warning-bg);
    color: var(--warning);
}

.renewal-message.approved {
    background: var(--success-bg);
    color: var(--success);
}

.renewal-message.disabled {
    background: #f5f5f5;
    color: var(--muted);
}

.renewal-form {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.renewal-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 5px;
}

.renewal-footer span {
    color: var(--muted);

    font-size: 11px;
}

.renewal-footer strong {
    color: var(--text);

    font-size: 13px;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.pagination {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 5px;

    margin-top: 25px;
}

.pagination a,
.pagination span {
    min-width: 36px;
    height: 36px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 10px;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-sm);

    color: var(--text-secondary);

    font-size: 12px;
}

.pagination a:hover {
    border-color: var(--accent);

    color: var(--accent-dark);
}

.pagination .active {
    background: var(--accent);

    border-color: var(--accent);

    color: var(--primary);

    font-weight: 800;
}


/* =========================================================
   RENTAL MODAL
   ========================================================= */

.rental-modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 9999;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.65);
}

.rental-modal-content {
    width: 100%;
    max-width: 460px;
    max-height: 90vh;

    overflow-y: auto;

    padding: 30px;

    background: white;

    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-lg);

    animation: rentalModalShow 0.2s ease;
}

.rental-modal-content h2 {
    margin-top: 0;

    color: var(--text);

    font-size: 21px;
}

.rental-modal-content p {
    color: var(--muted);

    font-size: 13px;
}

.modal-house-title {
    padding: 12px;

    background: var(--accent-soft);

    border: 1px solid var(--accent-light);

    border-radius: var(--radius-sm);

    color: var(--accent-dark) !important;

    font-weight: 700;
}

.modal-buttons {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 22px;
}

@keyframes rentalModalShow {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(5px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* =========================================================
   OVERFLOW PROTECTION
   ========================================================= */

.card,
.house,
.house-card,
.lease-card,
.payment-card,
.receipt-container,
.rental-modal-content,
.modern-card {
    overflow-wrap: anywhere;
}

.content,
.main-content,
.rentora-main {
    overflow-x: hidden;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .summary-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .lease-columns {
        grid-template-columns: 1fr;
    }

    .property-detail-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .content,
    .main-content,
    .rentora-main {
        padding: 28px;
    }
}


/* =========================================================
   RESPONSIVE — SMALL TABLET
   ========================================================= */

@media (max-width: 800px) {

    :root {
        --sidebar-width: 210px;
    }

    .content,
    .main-content,
    .rentora-main {
        padding: 24px 20px;
    }

    .houses-grid,
    .properties-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .house-info,
    .lease-details {
        grid-template-columns: 1fr;
    }

    .property-title-row {
        align-items: flex-start;
    }

    .property-detail-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .sidebar,
    .rentora-sidebar {
        display: none;
    }

    .content,
    .main-content,
    .rentora-main {
        margin-left: 0;

        width: 100%;

        padding: 20px 15px;
    }

    .topbar {
        align-items: flex-start;
    }

    .topbar h1,
    .page-header h1 {
        font-size: 24px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .houses-grid,
    .properties-grid {
        grid-template-columns: 1fr;
    }

    .house-card,
    .property-card {
        max-width: 100%;
    }

    .property-title-row {
        flex-direction: column;

        align-items: flex-start;
    }

    .property-title-row h2 {
        font-size: 20px;
    }

    .property-detail-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .house-actions,
    .request-actions {
        flex-direction: column;
    }

    .house-actions > *,
    .request-actions > * {
        width: 100%;
    }

    .house-image {
        height: 210px;
    }

    .media-gallery,
    .house-card .media-gallery,
    .property-card .media-gallery {
        height: 220px;
    }

    .house-card .media-gallery img,
    .house-card .media-gallery video,
    .property-card .media-gallery img,
    .property-card .media-gallery video {
        height: 220px;
    }

    .house-image-large,
    .house-video-large {
        height: 230px;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

    .lease-card-header,
    .lease-title {
        flex-direction: column;

        align-items: flex-start;
    }

    .payment-header {
        flex-direction: column;

        align-items: flex-start;
    }

    .payment-page {
        padding: 15px;
    }

    .payment-card {
        padding: 22px 18px;

        margin: 20px auto;
    }

    .receipt-container {
        padding: 22px 18px;

        margin: 20px auto;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .modal-buttons .btn {
        width: 100%;
    }

    .chart-container {
        padding: 18px;
    }

    .favorites-header {
        flex-direction: column;

        align-items: flex-start;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .content,
    .main-content,
    .rentora-main {
        padding: 14px 10px;
    }

    .page-header h1,
    .topbar h1 {
        font-size: 21px;
    }

    .card,
    .modern-card {
        padding: 18px;
    }

    .house-card-content,
    .property-info {
        padding: 16px;
    }

    .house-card-content h2,
    .house-card h2,
    .property-card h2 {
        font-size: 18px;
    }

    .media-gallery,
    .house-card .media-gallery,
    .property-card .media-gallery {
        height: 190px;
    }

    .house-card .media-gallery img,
    .house-card .media-gallery video,
    .property-card .media-gallery img,
    .property-card .media-gallery video {
        height: 190px;
    }

    .house-image {
        height: 190px;
    }

    .payment-card {
        border-radius: 14px;
    }

    .pagination {
        justify-content: flex-start;

        overflow-x: auto;
    }
}


/* =========================================================
   PRINT
   ========================================================= */

@media print {

    .sidebar,
    .rentora-sidebar,
    .logout-btn,
    .btn,
    .request-btn,
    .pay-btn,
    .primary-btn,
    .request-house-btn,
    .favorite-btn,
    .favorite-overlay {
        display: none !important;
    }

    .content,
    .main-content,
    .rentora-main {
        width: 100%;

        margin-left: 0;

        padding: 0;
    }

    body {
        background: white;
    }

    .card,
    .house-card,
    .lease-card,
    .payment-card,
    .receipt-container {
        box-shadow: none;

        border: 1px solid #ccc;
    }
}
/* =========================================================
   AVEROLA PROPERTY CARD - FINAL SPACING FIX
   ========================================================= */

.properties-grid,
.card-container {
    align-items: start !important;
}

/* Property card */
.house-card,
.property-card {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    overflow: hidden !important;
}

/* Media area */
.house-card .media-gallery,
.property-card .media-gallery {
    width: 100% !important;
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: block !important;
}

/* Images and videos */
.house-card .media-gallery img,
.house-card .media-gallery video,
.property-card .media-gallery img,
.property-card .media-gallery video {
    display: block !important;
    width: 100% !important;
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Media item */
.house-card .house-media-item,
.property-card .house-media-item {
    width: 100% !important;
    height: 240px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Property information */
.house-card .property-info,
.property-card .property-info,
.house-card .house-card-content,
.property-card .house-card-content {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 18px !important;
    margin: 0 !important;
}

/* Prevent empty fixed-height areas */
.house-card > div:not(.media-gallery),
.property-card > div:not(.media-gallery) {
    min-height: 0;
}

/* No-media state */
.house-card .no-media,
.property-card .no-media {
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    margin: 0 !important;
}

/* Property title */
.house-card h2,
.property-card h2 {
    margin: 0 0 8px !important;
}

/* Property text */
.house-card p,
.property-card p {
    margin: 6px 0 !important;
}

/* Favorite button stays above the image */
.house-card .favorite-btn,
.property-card .favorite-btn {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 50 !important;
}
/* =========================================================
   AVEROLA PROPERTY GRID - FINAL CARD FIX
   ========================================================= */

.main-content .houses-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
}

.main-content .houses-grid .house-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    color: #171717 !important;
}

.main-content .houses-grid .house-image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 225px !important;
    overflow: hidden !important;
    background: #e5e5e5 !important;
}

.main-content .houses-grid .house-image img,
.main-content .houses-grid .house-image video {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.main-content .houses-grid .house-card-content {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 20px !important;
    background: #ffffff !important;
    color: #171717 !important;
    overflow: visible !important;
}

.main-content .houses-grid .house-card-content h2,
.main-content .houses-grid .house-card-content p,
.main-content .houses-grid .house-card-content span,
.main-content .houses-grid .house-card-content strong,
.main-content .houses-grid .house-card-content div {
    visibility: visible !important;
    opacity: 1 !important;
}

.main-content .houses-grid .house-card-content h2 {
    color: #171717 !important;
}

.main-content .houses-grid .house-location,
.main-content .houses-grid .house-description {
    color: #737373 !important;
}

.main-content .houses-grid .house-features {
    display: flex !important;
    visibility: visible !important;
}

.main-content .houses-grid .house-price {
    display: flex !important;
    visibility: visible !important;
}

.main-content .houses-grid .house-actions {
    display: flex !important;
    visibility: visible !important;
}

.main-content .houses-grid .view-house-btn {
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* =========================================================
   PROPERTY GRID RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {

    .main-content .houses-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
    }

}

@media (max-width: 700px) {

    .main-content .houses-grid {
        grid-template-columns: 1fr !important;
    }

}
/* =========================================================
   FAVORITE AJAX BUTTON
   ========================================================= */

.favorite-toggle {
    position: absolute;
    top: 12px;
    right: 12px;

    width: 46px;
    height: 46px;

    border: none;
    border-radius: 50%;

    background: white;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    font-size: 23px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

    z-index: 10;
}


.favorite-toggle:hover {
    transform: scale(1.12);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.25);
}


.favorite-toggle:active {
    transform: scale(0.94);
}


.favorite-toggle.is-favorite {
    background: #fff5f5;
}


.favorite-icon {
    display: block;

    line-height: 1;

    transition:
        transform 0.2s ease;
}


.favorite-toggle:hover .favorite-icon {
    transform: scale(1.15);
}


/* =========================================================
   FAVORITE FEEDBACK
   ========================================================= */

.favorite-feedback {
    position: fixed;

    left: 50%;

    bottom: 30px;

    transform:
        translate(-50%, 20px);

    background: #171717;

    color: white;

    padding: 12px 20px;

    border-radius: 999px;

    font-size: 14px;

    font-weight: 600;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

    z-index: 9999;
}


.favorite-feedback.show {

    opacity: 1;

    transform:
        translate(-50%, 0);

}