/* Premium Cart Redraw */
.cart-checkout-container {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(87, 81, 225, 0.1);
    padding: 40px;
    border: 1px solid rgba(87, 81, 225, 0.1);
    position: relative;
    overflow: hidden;
}

.cart-checkout-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #5751E1, #fbef14);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(40px);
}

.cart-checkout-container .title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #161439;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-checkout-container .title i {
    color: #5751E1;
}

/* Coupon Box */
.coupon-wrapper {
    margin-bottom: 30px;
    padding: 20px;
    background: #F7F7F9;
    border-radius: 16px;
    border: 1px dashed #ACAACC;
}

.coupon-wrapper label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
    color: #6D6C80;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
}

.coupon-input-group input {
    flex: 1;
    border: 1px solid #E2E2E2;
    border-radius: 12px;
    padding: 12px 12px;
    font-size: 14px;
    transition: all 0.3s;
}

.coupon-input-group input:focus {
    border-color: #5751E1;
    box-shadow: 0 0 10px rgba(87, 81, 225, 0.1);
}

.coupon-input-group .apply-btn {
    padding: 10px 10px;
    background: #161439;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.coupon-input-group .apply-btn:hover {
    background: #5751E1;
    transform: translateY(-2px);
}

/* Summary List */
.summary-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
  
    font-size: 16px;
    color: #6D6C80;
}

.summary-list li:last-child {
    border-bottom: none;
}

.summary-list li span:last-child {
    font-weight: 600;
    color: #161439;
}

.summary-list li.total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #EFEEFE;
}

.summary-list li.total span:first-child {
    font-size: 20px;
    font-weight: 700;
    color: #161439;
}

.summary-list li.total .amount {
    font-size: 24px;
    color: #5751E1;
    font-weight: 800;
}

/* Items List (Micro) */
.mini-items-list {
    margin-bottom: 25px;
}

.mini-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s;
}

.mini-item:hover {
    background: rgba(87, 81, 225, 0.05);
}

.mini-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.mini-item-info h5 {
    font-size: 14px;
    margin: 0;
    color: #161439;
}

.mini-item-info span {
    font-size: 13px;
    color: #5751E1;
    font-weight: 600;
}

/* Pay Button */
.pay-now-btn {
    width: 100%;
    margin-top: 30px;
    padding: 10px;
    background: #5751E1;
    color: #fff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    display: block;
    box-shadow: 0 10px 20px rgba(87, 81, 225, 0.2);
    transition: all 0.3s;
}

.pay-now-btn:hover {
    background: #161439;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(87, 81, 225, 0.3);
}

/* Student Info Summary */
.student-summary {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EFEEFE;
}

.student-summary h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #161439;
    display: flex;
    align-items: center;
    gap: 8px;
}

.student-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.info-item {
    font-size: 13px;
    color: #6D6C80;
}

.info-item label {
    display: block;
    font-weight: 600;
    color: #4842a4;
    margin-bottom: 2px;
}

/* Professional Remove Item Button - Simple */
.remove-item {
    background: transparent;
    border: none;
    color: #ACAACC; /* Subtle gray default */
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: color 0.2s ease-in-out;
    cursor: pointer;
    margin: 0 auto;
    padding: 0;
}

.remove-item:hover {
    color: #E11B24; /* Professional red on hover only */
    background: transparent; /* Removed background animation */
    transform: none; /* Removed rotation animation */
}

.remove-item i {
    pointer-events: none;
}

.cart-order-table th {
    background: #f8f9fa;
    border: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 15px !important;
    white-space: nowrap;
}

.cart-order-table td {
    padding: 20px 15px !important;
    vertical-align: middle;
    white-space: nowrap;
}

.cart-order-table th:first-child,
.cart-order-table td:first-child {
    white-space: normal;
    min-width: 250px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cart-checkout-container {
        padding: 20px;
    }
    .student-info-grid {
        grid-template-columns: 1fr;
    }
}