.rental-status {
    margin: 20px 0;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 5px;
}

.rental-status h3 {
    margin-top: 0;
    color: #23282d;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.rental-status p {
    margin: 10px 0;
    font-size: 16px;
}

.rental-status .no-subscription {
    background: #fff8e5;
    border-color: #ffb900;
}

.active-rentals {
    margin-top: 20px;
}

.active-rentals h4 {
    margin-bottom: 10px;
    color: #2c3338;
}

.active-rentals ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.active-rentals li {
    padding: 10px;
    margin: 5px 0;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.rental-title {
    font-weight: bold;
    color: #2c3338;
}

.rental-dates {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.rental-product {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.rental-product .rental-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.rental-product.available .rental-badge {
    background-color: #4CAF50;
    color: white;
}

.rental-product.unavailable .rental-badge {
    background-color: #f44336;
    color: white;
}

.rental-product .rental-details {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 3px;
}

.stock-status {
    font-weight: bold;
    color: #2196F3;
}

.rental-unavailable {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 3px;
}

.rental-unavailable p {
    margin: 0;
    color: #666;
}

.rental-actions {
    margin-top: 15px;
}

.rental-actions .button {
    width: 100%;
    text-align: center;
}

/* Account page rental history */
.rental-history {
    margin: 20px 0;
}

.rental-history table {
    width: 100%;
    border-collapse: collapse;
}

.rental-history th,
.rental-history td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.rental-history th {
    background: #f8f9fa;
    font-weight: 600;
}

.rental-history tr:hover {
    background: #f8f9fa;
}

/* Rental status indicators */
.status-indicator {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: #e7f5ea;
    color: #46b450;
}

.status-returned {
    background: #fbeaea;
    color: #dc3232;
}

/* Subscription status */
.subscription-status {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.subscription-status h4 {
    margin: 0 0 10px;
    color: #23282d;
}

.subscription-status .next-billing {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.rental-balance {
    margin: 15px 0;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.rental-balance p {
    margin: 8px 0;
    font-size: 16px;
    color: #333;
}

.rental-limit {
    font-weight: bold;
    color: #2c3338;
}

.active-rentals-count {
    color: #0073aa; /* Blue */
    font-weight: bold;
}

.cart-reservations {
    color: #f56e28; /* Orange */
    font-weight: bold;
}

.pending-orders {
    color: #ff9800; /* Amber */
    font-weight: bold;
}

.available-slots {
    font-weight: bold;
    color: #46b450; /* Green */
}

.available-slots.no-slots {
    color: #dc3232; /* Red */
}

.rental-limit-warning {
    margin-top: 10px;
    padding: 10px;
    background: #dc3232;
    color: #fff;
    border-radius: 3px;
    font-weight: bold;
}

.no-subscription {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.no-subscription .button {
    margin-top: 10px;
} 