/*
Theme Name: Divi Child
Description: A Divi child theme.
Author: Your Name
Template: Divi
Version: 1.0.0
*/

.camp-dashboard { 
        max-width: 100%; 
        margin: 0; 
        padding: 0;
    }
    .camp-card { 
        border: 2px solid #e0e0e0; 
        padding: 25px; 
        margin: 25px 0; 
        border-radius: 12px; 
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        position: relative;
        overflow: hidden;
    }
    .camp-header { 
        display: flex; 
        justify-content: space-between; 
        align-items: flex-start;
        margin-bottom: 25px; 
        flex-wrap: wrap;
        gap: 15px;
    }
    .camp-title-section {
        flex: 1;
        min-width: 250px;
    }
    .camp-title { 
        font-size: 26px; 
        font-weight: bold; 
        color: #2c3e50; 
        margin: 0 0 8px 0;
        line-height: 1.2;
    }
    .camp-subtitle {
        font-size: 16px;
        color: #7f8c8d;
        margin: 0;
    }
    .camp-status { 
        padding: 10px 20px; 
        border-radius: 25px; 
        font-size: 14px; 
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        flex-shrink: 0;
    }
    .status-paid { 
        background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%); 
        color: #155724; 
        border: 2px solid #28a745;
    }
    .status-partial { 
        background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%); 
        color: #856404; 
        border: 2px solid #ffc107;
    }
    .camp-product-section {
        background: #f8f9fa;
        padding: 20px;
        border-radius: 10px;
        margin: 20px 0;
        border-left: 5px solid #0073aa;
    }
    .camp-product-name { 
        font-size: 20px; 
        font-weight: bold; 
        color: #0073aa; 
        margin: 0 0 12px 0;
    }
    .camp-dates { 
        font-size: 16px; 
        color: #2980b9; 
        margin: 8px 0;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .camper-info { 
        background: #ffffff; 
        padding: 20px; 
        border-radius: 10px; 
        margin: 15px 0; 
        border: 2px solid #e3f2fd;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .camper-name { 
        font-size: 22px; 
        font-weight: bold; 
        color: #1565c0; 
        margin: 0 0 15px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .camper-details { 
        display: grid; 
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
        gap: 12px;
        margin-top: 15px;
    }
    .detail-item { 
        background: #f8f9fa; 
        padding: 12px; 
        border-radius: 8px; 
        border-left: 4px solid #0073aa;
    }
    .detail-label { 
        font-weight: bold; 
        color: #495057; 
        font-size: 13px; 
        text-transform: uppercase;
        margin-bottom: 6px;
        letter-spacing: 0.5px;
    }
    .detail-value { 
        color: #212529; 
        font-size: 15px;
        font-weight: 500;
    }
    .payment-summary { 
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); 
        padding: 25px; 
        border-radius: 12px; 
        margin: 25px 0; 
        border: 2px solid #2196f3;
    }
    .payment-title {
        font-size: 20px;
        font-weight: bold;
        color: #0d47a1;
        margin: 0 0 20px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .payment-row { 
        display: flex; 
        justify-content: space-between; 
        align-items: center;
        margin: 12px 0;
        font-size: 16px;
        padding: 8px 0;
    }
    .balance-due { 
        background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%); 
        padding: 25px; 
        margin: 25px 0; 
        border-radius: 12px; 
        border: 3px solid #ffc107;
        position: relative;
    }
    .balance-due::before {
        content: "⚠️";
        font-size: 24px;
        position: absolute;
        top: 15px;
        left: 15px;
    }
    .balance-content {
        margin-left: 40px;
    }
    .pay-button { 
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%); 
        color: white; 
        padding: 15px 30px; 
        text-decoration: none; 
        border-radius: 10px; 
        font-weight: bold;
        font-size: 16px;
        display: inline-block;
        margin-top: 15px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }
    .pay-button:hover { 
        background: linear-gradient(135deg, #218838 0%, #1abc9c 100%); 
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
    }
    .order-actions { 
        margin-top: 25px; 
        padding-top: 20px; 
        border-top: 2px solid #e9ecef; 
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }
    .action-link { 
        color: #0073aa; 
        text-decoration: none; 
        font-weight: 600;
        padding: 8px 16px;
        border: 2px solid #0073aa;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    .action-link:hover { 
        background: #0073aa;
        color: white;
    }
    @media (max-width: 768px) {
        .camp-header { 
            flex-direction: column; 
            align-items: stretch; 
        }
        .camp-title { 
            font-size: 22px;
            margin-bottom: 10px; 
        }
        .camper-details { 
            grid-template-columns: 1fr; 
        }
        .payment-row { 
            flex-direction: column; 
            align-items: flex-start;
            gap: 5px;
        }
        .balance-content {
            margin-left: 0;
            margin-top: 10px;
        }
    }