/* High-End Rental Platform - Public Styles */

.herp-calendar-wrapper {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.herp-calendar-header h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.herp-calendar-note {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
}

.herp-calendar-grid {
    margin-bottom: 16px;
}

.herp-month-header {
    text-align: center;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 8px;
}

.herp-days-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
}

.herp-cells {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.herp-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    background: #fafafa;
    border: 1px solid transparent;
}

.herp-day:hover:not(.herp-blocked) {
    background: #e8f4f8;
    border-color: #2196F3;
}

.herp-day.herp-blocked {
    background: #f0f0f0;
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.herp-day.herp-selected {
    background: #2196F3;
    color: #fff;
    font-weight: 600;
}

.herp-day.herp-range {
    background: #e3f2fd;
    color: #1976D2;
}

.herp-date-summary {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.herp-selected-dates {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.herp-price-breakdown p {
    margin: 4px 0;
    font-size: 14px;
}

.herp-price-breakdown p:last-child {
    font-size: 16px;
    color: #2196F3;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}

.herp-add-to-cart-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
}

.herp-add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Vendor Dashboard */
.herp-vendor-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.herp-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0f0f0;
}

.herp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.herp-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

.herp-stat-card h4 {
    font-size: 13px;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 12px;
    letter-spacing: 0.5px;
}

.herp-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.herp-stat-card.earnings .herp-stat-value {
    color: #4CAF50;
}

.herp-stat-card.pending .herp-stat-value {
    color: #FF9800;
}

/* Vendor Registration */
.herp-vendor-registration-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.herp-vendor-registration-form h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.herp-form-note {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.herp-vendor-registration-form p {
    margin-bottom: 20px;
}

.herp-vendor-registration-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.herp-vendor-registration-form input[type="text"],
.herp-vendor-registration-form input[type="email"],
.herp-vendor-registration-form input[type="tel"],
.herp-vendor-registration-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.herp-vendor-registration-form input:focus,
.herp-vendor-registration-form textarea:focus {
    outline: none;
    border-color: #2196F3;
}

/* Rental Product Display */
.herp-price-display {
    margin: 16px 0;
}

.herp-rental-price {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #2196F3;
}

.herp-rental-price small {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.herp-retail-value {
    display: block;
    font-size: 14px;
    color: #888;
    margin-top: 4px;
}

.herp-deposit-note {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 4px;
    padding: 8px 12px;
    background: #fff3e0;
    border-radius: 6px;
    border-left: 3px solid #FF9800;
}

/* Rental meta on product page */
.herp-rental-meta {
    margin: 20px 0;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
}

.herp-rental-meta h4 {
    margin: 0 0 16px;
    font-size: 16px;
}

.herp-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.herp-meta-item {
    font-size: 14px;
}

.herp-meta-item strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 2px;
}

/* Logistics tracking */
.herp-tracking-timeline {
    position: relative;
    padding-left: 32px;
}

.herp-tracking-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.herp-tracking-step {
    position: relative;
    padding-bottom: 24px;
}

.herp-tracking-step::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e0e0e0;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #e0e0e0;
}

.herp-tracking-step.completed::before {
    background: #4CAF50;
    box-shadow: 0 0 0 2px #4CAF50;
}

.herp-tracking-step.active::before {
    background: #2196F3;
    box-shadow: 0 0 0 2px #2196F3;
}

.herp-tracking-step h5 {
    margin: 0 0 4px;
    font-size: 14px;
}

.herp-tracking-step p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.herp-alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
}

.herp-alert-success {
    background: #e8f5e9;
    border-left: 4px solid #4CAF50;
    color: #2e7d32;
}

.herp-alert-error {
    background: #ffebee;
    border-left: 4px solid #f44336;
    color: #c62828;
}