/* Cart Page Styles */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page {
    background-color: #EEEEEE;
}

#content {
    max-width: 100%;
    flex: 1;
}

.seekgo-tab-buttons {
    margin: 0 !important;
}

.page-header {
    display: none;
}

.seekgo-cart-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Roboto', sans-serif;
}

/* Header */
.seekgo-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.seekgo-cart-header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.seekgo-back-link {
    color: #004C97;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.2s ease;
}

.seekgo-back-link:hover {
    color: #ff8200;
}

.seekgo-cart-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.seekgo-cart-header-right {
    display: flex;
    align-items: center;
}

.seekgo-empty-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #004C97;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.2s ease;
}

.seekgo-empty-cart:hover {
    color: #dc3545;
}

.seekgo-cart-icon {
    font-size: 16px;
}

/* Empty cart message */
.seekgo-empty-cart-message {
    text-align: center;
    padding: 60px 20px;
}

.seekgo-empty-cart-icon {
    font-size: 64px;
    opacity: 0.5;
}

.seekgo-empty-cart-message h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.seekgo-empty-cart-message p {
    color: #666;
    margin-bottom: 30px;
}

.seekgo-browse-activities-btn {
    display: inline-block;
    background: #ff8200;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
    text-decoration: none !important;
}

.seekgo-browse-activities-btn:hover {
    background: #e67300;
    text-decoration: none !important;
}

/* Cart content layout */
.seekgo-cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

/* Cart items */
.seekgo-cart-items {
    display: flex;
    flex-direction: column;
}

.seekgo-cart-item {
    background: white;
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 20px;
    display: flex;
    gap: 20px;
    position: relative;
    margin-bottom: 20px;
}

.seekgo-cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.seekgo-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seekgo-cart-item-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ccc;
}

.seekgo-cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seekgo-cart-item-title {
    color: #444444;
    font-family: Roboto;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -0.2px;
    vertical-align: middle;
}

.seekgo-discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff8200;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.seekgo-cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.seekgo-cart-item-type,
.seekgo-cart-item-people,
.seekgo-cart-item-datetime {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.seekgo-cart-item-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.seekgo-action-btn {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: white;
    border: 1px solid #666;
    color: #333;
    font-family: sans-serif;
    text-align: center;
    min-width: 80px;
}

.seekgo-view-detail {
    background: white;
    color: #004C97;
    border: 1px solid #004C97;
    text-decoration: none !important;
}

.seekgo-view-detail:hover {
    background: white;
    border-color: #004C97;
}

.seekgo-edit-item {
    background: white;
    color: #004C97;
    border: 1px solid #004C97;
    text-decoration: none !important;
}

.seekgo-edit-item:hover {
    background: white;
    border-color: #004C97;
}

.seekgo-remove-item {
    background: white;
    color: #004C97;
    border: 1px solid #004C97;
    text-decoration: none !important;
}

.seekgo-remove-item:hover {
    background: white;
    border-color: #004C97;
}

/* Cart summary */
.seekgo-cart-summary {
    background: white;
    border-radius: 8px;
    border: 1px solid #CCCCCC;
}

.seekgo-summary-title {
    font-family: Rubik;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    color: #444444;
    line-height: 20px;
    letter-spacing: 0%;
    padding: 24px 24px 24px 24px;
    margin: 0;
    border-bottom: 1px solid #cccccc;
}

.seekgo-summary-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 24px;
    font-family: Lato;
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0%;
}

.seekgo-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.seekgo-summary-item-name {
    font-size: 14px;
    color: #666666;
    flex: 1;
}

.seekgo-summary-item-price {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    text-transform: uppercase;
}

.seekgo-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    padding: 12px 24px;
    font-family: Lato;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #666666;
    line-height: 16px;
    letter-spacing: 0%;
}

.seekgo-total-label {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
}

.seekgo-total-price {
    font-size: 18px;
    font-weight: 400;
    color: #666666;
    text-transform: uppercase;
}

.seekgo-total-info {
    color: #666;
    font-size: 14px;
    margin-left: 8px;
}

.seekgo-checkout-btn {
    display: block;
    background: #ff8200;
    color: white;
    padding: 12px;
    margin: 24px;
    border-radius: 4px;
    text-decoration: none !important;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.seekgo-checkout-btn:hover {
    background: #e67300;
}

/* Responsive design */
@media (max-width: 768px) {
    .seekgo-cart-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .seekgo-cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .seekgo-cart-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .seekgo-cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .seekgo-cart-item-actions {
        justify-content: center;
    }
}

.seekgo-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.seekgo-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.seekgo-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.seekgo-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
