/* My Account / Dashboard Styles */

.rvl-my-account-wrapper {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.rvl-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    padding-top: 15px;
}

.rvl-section-header .rvl-icon {
    font-size: 1.5em;
}

.rvl-section-header h2 {
    border-bottom: none;
    margin: 0;
    padding: 0;
}

.rvl-rentals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Specific Card style for Dashboard (slightly different from rental page) */
.rvl-rental-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rvl-rental-card-header {
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.1em;
}

.rvl-rental-card-body {
    padding: 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rvl-rental-card-body p {
    margin: 0 0 12px;
}

.rvl-rental-card-body p:last-child {
    margin-bottom: 0;
}

.rvl-rental-card-footer {
    padding: 15px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

.rvl-rental-card-footer .rvl-countdown {
    color: #dc3545;
    font-weight: bold;
}

.rvl-rental-card.active {
    border-left: 4px solid #28a745;
}

/* Empty State */
.rvl-empty-state {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
}

.rvl-empty-state p {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #6c757d;
}

/* History Table */
.rvl-history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.rvl-history-table th,
.rvl-history-table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
    border: none;
    border-bottom: 1px solid #e9ecef;
}

.rvl-history-table th {
    background-color: #f8f9fa;
}

.rvl-history-table tbody tr:last-child td {
    border-bottom: none;
}