.course-sponsorship-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.csc-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.csc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.csc-card-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f0f0f0;
}

.csc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.csc-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.csc-title {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.csc-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.csc-price-info {
    margin-bottom: 15px;
}

.csc-per-student {
    display: inline-block;
    background: #f0f7ff;
    color: #0066cc;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.csc-quantity-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #e9ecef;
}

.csc-qty-btn {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #495057;
    transition: all 0.2s;
}

.csc-qty-btn:hover {
    background: #e9ecef;
}

.csc-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    padding: 0;
    margin: 0 10px;
}

/* Hide number input spinners */
.csc-qty-input::-webkit-outer-spin-button,
.csc-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.csc-qty-input[type=number] {
    -moz-appearance: textfield;
}

.csc-total-wrapper {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #e9ecef;
    padding-top: 15px;
}

.csc-total-price {
    color: #28a745;
    font-size: 1.3rem;
}

.csc-sponsor-btn {
    width: 100%;
    background: #0066cc;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.csc-sponsor-btn:hover {
    background: #0052a3;
}

.csc-checkout-message {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
    .course-sponsorship-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .course-sponsorship-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .course-sponsorship-grid {
        grid-template-columns: 1fr;
    }
}
