.cart-section {
    background-color: #E9ECF6;
    min-height: 100vh;
}

p {
    font-weight: 400;
    line-height: 1.0;
    font-size: 14px;
    color: #27293d;
}

.timeline {
    position: relative;
    padding-left: 4rem;
    margin: 0 0 0 30px;
    color: white;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #27293d;
}

.timeline .timeline-container {
    position: relative;
    margin-bottom: 0.5rem;
}

.timeline .timeline-icon {
    position: absolute;
    left: -85px;
    top: 4px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-align: center;
    font-size: 1.5rem;
    background: #4f537b;
}

.timeline .timeline-icon i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.timeline .timeline-body {
    background: #ffffff;
    border-radius: 5px;
    padding: 15px 20px 5px;
    box-shadow: 1px 3px 9px rgba(0, 0, 0, .1);
    position: relative;
}

.timeline .timeline-body:before {
    content: '';
    background: inherit;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    left: -10px;
    transform: rotate(45deg);
    border-radius: 0 0 0 2px;
}

.timeline .timeline-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #27293d;
    gap: 10px;
}

.timeline .timeline-title .badge {
    position: relative;
    background: #28a745;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 16px;
    border-radius: 50px 0 50px 0;
    display: inline-block;
    overflow: hidden;
}

.timeline .timeline-title .badge::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transform: skewX(-25deg);
    animation: sparkle 1.8s infinite;
}

@keyframes sparkle {
    0% {
        left: -75%;
    }

    50% {
        left: 125%;
    }

    100% {
        left: 125%;
    }
}

.timeline-container.primary .badge,
.timeline-container.primary .timeline-icon {
    background: #2D7A89 !important;
}

.list-group span {
    color: #0a6f81 !important;
}

.timeline-container.success .badge,
.timeline-container.success .timeline-icon {
    background: #00bf9a !important;
}

.order-summary {
    flex: 1;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    color: #b95151;
    box-shadow: 1px 3px 9px rgba(0, 0, 0, .1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.summary-item.total {
    font-size: 16px;
    margin-top: 20px;
}

.payment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    background-color: #2D7A89;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
      border: none;          
  outline: none;       
  box-shadow: none; 
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.order-summary-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f1f1f1;
}

.bg-white {
    background: #fff;
}

.custom-input {
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.custom-input:focus {
    border-color: #000;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.back-btn,
.checkout-btn {
    border: none;
    border-radius: 50px;
    padding: 8px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.checkout-btn {
    background-color: #2D7A89;
    color: #fff;
}

.back-btn {
    background-color: #C1E0D6;
    color: #2D7A89;
}

.payment-btn:hover,
.checkout-btn:hover,
.back-btn:hover {
    background-color: #BEC7E7;
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.total-box {
    background: #f8faff;
    border: 1px solid #dce3f0;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
}

#detail-section {
    background: linear-gradient(135deg, #C1E0D6, #F3EFEE);
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh; 
    padding: 2px 0; 
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;                     
    font-size: 0.9rem;            
    font-weight: 500;
    width: 34px;   
    height: 34px;
    border-radius: 50%; 
    border: 1px solid #6c757d;
    background-color: transparent;
    color: #6c757d;
    transition: all 0.25s ease;
    cursor: pointer;
}

.back-link i {
    font-size: 1rem;              
}

.back-link:hover {
    background-color: #b5d2d8;               
    color: #fff !important;
    border-color: #2D7A89;
    transform: scale(1.05); 
}

.payment-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    width: 900px;
    max-width: 100%;
    margin: 25px auto;
    transition: transform 0.3s ease;
}

.payment-card h5,
.payment-card i{
    color: #2D7A89;
}

.payment-card:hover {
    transform: translateY(-5px);
}

.payment-title {
    font-size: 22px;
    font-weight: 700;
}

.info-box {
    background: #f7faff;
    padding: 12px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-box:hover {
    background: #e0f4ff;
    transform: translateY(-3px);
}
.info-box i {
    flex-shrink: 0;
}
.info-box p { 
    font-size: 1rem;
    margin-bottom: 0;
}
.list-group-item.item-hover:hover {
    background: #f0faff;
    transform: translateX(5px);
    transition: 0.3s;
}

.custom-input {
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  font-size: 15px;
  transition: all 0.3s ease-in-out;
}

.custom-input:focus {
  border-color: #2D7A89;
  box-shadow: 0 0 6px rgba(45, 122, 137, 0.25);
  outline: none;
}

.form-label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

#couponError,
#agentError {
  color: #dc3545;          
  font-size: 0.875rem;    
  margin-top: 4px;
}
