/* Tee Time Reservation System - User Dashboard Styles */

/* Dashboard Widget Styles */
.ttrs-dashboard-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ttrs-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 15px 0;
}

.ttrs-stat-item {
    text-align: center;
    padding: 10px;
    background: #f1f1f1;
    border-radius: 4px;
}

.ttrs-stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
}

.ttrs-stat-label {
    font-size: 12px;
    color: #666;
}

.ttrs-upcoming-list {
    margin: 10px 0;
}

.ttrs-booking-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.ttrs-booking-item:last-child {
    border-bottom: none;
}

/* Full Dashboard Styles */
.ttrs-user-dashboard {
    max-width: 1200px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ttrs-welcome-section {
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.ttrs-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.ttrs-stat-card {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.ttrs-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.ttrs-stat-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.ttrs-stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #0073aa;
    line-height: 1;
}

.ttrs-stat-label {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.ttrs-quick-actions {
    margin-bottom: 40px;
}

.ttrs-user-dashboard .ttrs-action-buttons {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin: 25px 0 !important;
    clear: both;
}

.ttrs-action-btn {
    display: inline-block;
    padding: 10px 20px !important;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    background: #0073aa;
    
    color: white;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
}

.ttrs-btn-primary {
    background: #0073aa;
    color: white;
}

.ttrs-btn-primary:hover {
    background: #005a87;
    color: white;
}

.ttrs-btn-secondary {
    background: #f1f1f1;
        background: #0073aa;

}

.ttrs-btn-secondary:hover {
    background: #003c57;
    color: white;
}

.ttrs-btn-success {
    background: #28a745 !important;
    color: white !important;
}

.ttrs-btn-success:hover {
    background: #218838 !important;
    color: white !important;
}

.ttrs-dashboard-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ttrs-dashboard-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}
.ttrs-bookings-list {
    margin-bottom: 20px;
}
.ttrs-user-dashboard .ttrs-booking-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px !important;
    margin-bottom: 20px !important;
    display: flex;
    gap: 25px;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.ttrs-booking-card:hover {
    border-color: #0073aa;
}

.ttrs-booking-date {
    text-align: center;
    min-width: 60px;
}

.ttrs-month {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ttrs-day {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
}

.ttrs-booking-details {
    flex: 1;
}

.ttrs-booking-details h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.ttrs-booking-details p {
    margin: 5px 0;
    color: #666;
}

.ttrs-booking-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.ttrs-cancel-btn {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s ease;
    line-height: 1.4;
}

.ttrs-cancel-btn:hover {
    background: #b71c1c;
}

.ttrs-booking-status {
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
}

.status-confirmed {
    background: #ecf7ed;
    color: #155724;
}

.status-cancelled {
    background: #ffeaea;
    color: #721c24;
}

.ttrs-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.ttrs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

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

.ttrs-table th {
    background: #f9f9f9;
    font-weight: 600;
    color: #333;
}

.ttrs-profile-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.ttrs-profile-item {
    display: flex;
    flex-direction: column;
}

.ttrs-profile-item label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.ttrs-profile-item span {
    color: #666;
}

.ttrs-waitlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 10px;
}

.ttrs-btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .ttrs-stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ttrs-action-buttons {
        flex-direction: column;
    }
    
    .ttrs-booking-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .ttrs-booking-actions {
        width: 100%;
        text-align: left;
        margin-top: 15px;
    }
    
    .ttrs-cancel-btn {
        display: inline-block;
        margin-right: 10px;
        margin-bottom: 0;
    }
} 