/* MyRent Properties Plugin v3.0 - Modern VIP Design */

* {
    box-sizing: border-box;
}

/* Home Page Hero Search */
.myrent-home-page {
    margin: 0;
    padding: 0;
    width: 100%;
}

.myrent-hero-search {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
}

.myrent-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

.myrent-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.myrent-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.myrent-hero-subtitle {
    font-size: 20px;
    color: white;
    opacity: 0.95;
    margin: 0 0 48px 0;
}

.myrent-search-form {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.myrent-search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.myrent-search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.myrent-search-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.myrent-search-field label svg {
    color: #2563eb;
}

.myrent-search-field input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
}

.myrent-search-field input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.myrent-search-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.myrent-search-btn:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px);
}

/* Properties Section */
.myrent-properties-section {
    padding: 80px 24px;
    background: #f9fafb;
}

.myrent-container {
    max-width: 1400px;
    margin: 0 auto;
}

.myrent-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.myrent-section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.myrent-section-header p {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
}

.myrent-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.myrent-property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.myrent-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.myrent-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.myrent-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.myrent-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.myrent-property-card:hover .myrent-card-image {
    transform: scale(1.1);
}

.myrent-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
}

.myrent-card-content {
    padding: 24px;
}

.myrent-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.myrent-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 16px;
}

.myrent-card-location svg {
    color: #2563eb;
    flex-shrink: 0;
}

.myrent-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.myrent-feature {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #374151;
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 6px;
}

.myrent-feature svg {
    color: #2563eb;
    flex-shrink: 0;
}

.myrent-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.myrent-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.myrent-price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
}

.myrent-price-per {
    font-size: 14px;
    color: #6b7280;
}

.myrent-view-btn {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
}

/* Single Property Page */
.myrent-single-property {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.myrent-hero-gallery {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.myrent-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.myrent-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
}

.myrent-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.myrent-nav-prev {
    left: 24px;
}

.myrent-nav-next {
    right: 24px;
}

.myrent-hero-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.myrent-hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.myrent-dot {
    width: 24px;
    height: 4px;
    background: rgba(255,255,255,0.5);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.myrent-dot.active {
    width: 32px;
    background: white;
}

.myrent-hero-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px;
    color: white;
    z-index: 5;
}

.myrent-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.myrent-hero-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
    font-size: 18px;
}

.myrent-hero-location,
.myrent-hero-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.myrent-hero-rating svg {
    fill: #fbbf24;
    stroke: #fbbf24;
}

.myrent-hero-price {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 20px;
}

.myrent-price-from {
    font-weight: 700;
    font-size: 24px;
}

.myrent-price-per {
    opacity: 0.9;
}

.myrent-property-badge {
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    font-size: 16px;
}

/* Sticky Navigation */
.myrent-sticky-nav {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    z-index: 40;
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 0 48px;
    overflow-x: auto;
}

.myrent-nav-link {
    padding: 16px 8px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.myrent-nav-link:hover,
.myrent-nav-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Content Grid */
.myrent-content-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.myrent-main-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.myrent-section {
    scroll-margin-top: 96px;
}

.myrent-section-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #111827;
}

.myrent-description {
    font-size: 18px;
    line-height: 1.7;
    color: #374151;
}

/* Property Stats */
.myrent-property-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
}

.myrent-stat {
    text-align: center;
}

.myrent-stat svg {
    color: #2563eb;
    margin: 0 auto 8px;
}

.myrent-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.myrent-stat-label {
    font-size: 14px;
    color: #6b7280;
}

/* Amenities */
.myrent-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.myrent-amenity-item {
    padding: 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.myrent-amenity-item:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.myrent-amenity-dot {
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Calendar */
.myrent-calendar-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 24px;
}

.myrent-cal-nav {
    padding: 12px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.myrent-cal-nav:hover {
    background: #f3f4f6;
    border-color: #2563eb;
}

.myrent-cal-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.myrent-calendar-4months {
    margin-bottom: 32px;
}

.myrent-calendar-4-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.myrent-calendar-month-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.myrent-month-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.myrent-month-header h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.myrent-month-header span {
    font-size: 14px;
    opacity: 0.9;
}

.myrent-calendar-grid-small {
    padding: 16px;
}

.myrent-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.myrent-weekdays span {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    padding: 8px 0;
}

.myrent-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.myrent-day-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.myrent-day-cell.available {
    background: #d1fae5;
    color: #065f46;
    cursor: pointer;
}

.myrent-day-cell.available:hover {
    background: #10b981;
    color: white;
    transform: scale(1.05);
}

.myrent-day-cell.booked {
    background: #fee2e2;
    color: #991b1b;
    cursor: not-allowed;
}

.myrent-day-cell.past {
    background: #f3f4f6;
    color: #d1d5db;
    cursor: not-allowed;
}

.myrent-day-cell.empty {
    background: transparent;
}

/* Calendar Legend */
.myrent-calendar-legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
}

.myrent-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.myrent-legend-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 2px solid transparent;
}

.myrent-legend-box.available {
    background: #d1fae5;
    border-color: #10b981;
}

.myrent-legend-box.booked {
    background: #fee2e2;
    border-color: #ef4444;
}

.myrent-legend-box.past {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

/* Reviews & Location */
.myrent-reviews-placeholder,
.myrent-location-placeholder {
    text-align: center;
    padding: 64px 32px;
    background: #f9fafb;
    border-radius: 12px;
}

.myrent-reviews-placeholder svg {
    color: #fbbf24;
    margin-bottom: 16px;
}

.myrent-location-placeholder svg {
    color: #6b7280;
    margin-bottom: 16px;
}

.myrent-location-note {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 8px;
}

/* Sidebar */
.myrent-sidebar {
    position: sticky;
    top: 96px;
    height: fit-content;
}

.myrent-booking-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.myrent-booking-header {
    margin-bottom: 24px;
}

.myrent-booking-price {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.myrent-booking-price span {
    font-size: 18px;
    font-weight: 400;
    color: #6b7280;
}

.myrent-booking-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #6b7280;
}

.myrent-booking-rating svg {
    fill: #fbbf24;
}

.myrent-booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.myrent-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.myrent-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
}

.myrent-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.myrent-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.myrent-btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.myrent-btn-primary:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.myrent-btn-success {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
}

.myrent-btn-success:hover {
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
    transform: translateY(-2px);
}

.myrent-booking-note {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

.myrent-price-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 16px;
    border-radius: 12px;
    margin-top: 16px;
}

.myrent-price-condition {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-size: 14px;
}

.myrent-price-condition svg {
    color: #2563eb;
    flex-shrink: 0;
}

/* Modal */
.myrent-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.myrent-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.myrent-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.myrent-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.myrent-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.myrent-modal-close {
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.myrent-modal-close:hover {
    background: #f3f4f6;
}

.myrent-modal-content form {
    padding: 24px;
}

.myrent-booking-summary {
    margin-bottom: 24px;
}

.myrent-booking-summary h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.myrent-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.myrent-modal-footer {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .myrent-content-grid {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .myrent-sidebar {
        position: static;
    }

    .myrent-calendar-4-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .myrent-property-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .myrent-search-grid {
        grid-template-columns: 1fr 1fr;
    }

    .myrent-search-btn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .myrent-hero-title {
        font-size: 32px;
    }

    .myrent-hero-info {
        padding: 24px;
    }

    .myrent-hero-gallery {
        height: 400px;
    }

    .myrent-content-grid {
        padding: 24px 16px;
    }

    .myrent-sticky-nav {
        padding: 0 16px;
        gap: 16px;
    }

    .myrent-section-title {
        font-size: 24px;
    }

    .myrent-calendar-4-grid {
        grid-template-columns: 1fr;
    }

    .myrent-property-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .myrent-amenities-grid {
        grid-template-columns: 1fr;
    }

    .myrent-form-row {
        grid-template-columns: 1fr;
    }

    .myrent-search-grid {
        grid-template-columns: 1fr;
    }

    .myrent-properties-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .myrent-hero-title {
        font-size: 28px;
    }

    .myrent-hero-subtitle {
        font-size: 16px;
    }

    .myrent-hero-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .myrent-property-stats {
        grid-template-columns: 1fr;
    }

    .myrent-calendar-legend {
        flex-direction: column;
        gap: 12px;
    }
}
