/* Professional Trainee Portal Styles */
.dkm-trainee-portal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dkm-trainee-portal h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
}

.dkm-balance {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.dkm-balance h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.dkm-subscriptions, .dkm-admission-details, .dkm-ledger-history, .dkm-orders-history {
    margin-bottom: 30px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dkm-subscriptions h3, .dkm-admission-details h3, .dkm-ledger-history h3, .dkm-orders-history h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.subscriptions-grid, .orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.subscription-card, .order-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.subscription-card:hover, .order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.subscription-card h4, .order-card h4 {
    margin: 0 0 15px 0;
    color: #007cba;
    font-size: 18px;
    font-weight: 600;
}

.subscription-card p, .order-card p {
    margin: 8px 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.admission-info p {
    margin: 12px 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.admission-info strong {
    color: #2c3e50;
}

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

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

.dkm-ledger-history th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.dkm-ledger-history td {
    color: #555;
}

.dkm-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.dkm-product-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.dkm-product-item:hover {
    transform: translateY(-2px);
}

.dkm-product-item .product-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dkm-trainee-portal {
        padding: 15px;
    }

    .dkm-trainee-portal h2 {
        font-size: 24px;
    }

    .dkm-balance h3 {
        font-size: 20px;
    }

    .subscriptions-grid, .orders-grid {
        grid-template-columns: 1fr;
    }

    .dkm-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}