.main-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.thank-you-card {
    display: flex;
    flex-direction: column;
}

.success-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #fb84bb 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

.checkmark {
    width: 50px;
    height: 50px;
    stroke: #20c753;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
}

.success-header p {
    font-size: 16px;
    opacity: 0.95;
    font-weight: 300;
}

.order-info {
    padding: 35px 30px;
    background: #f8f9ff;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e4f5;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 600;
    text-align: right;
}

.info-value.highlight {
    color: #667eea;
    font-size: 22px;
}

.order-details-card {
    display: flex;
    flex-direction: column;
}

.card-header {
    padding: 20px;
    background: white;
    border-bottom: 2px solid #f0f0f0;
}

.card-header h2 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 5px;
    font-weight: 800;
}

.card-content {
    padding: 20px;
    flex: 1;
}

.product-item-order {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    flex: 1;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 15px;
}

.product-meta {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.product-meta span {
    display: inline-block;
    background: white;
    padding: 4px 10px;
    border-radius: 6px;
    margin-right: 8px;
    margin-top: 5px;
}

.summary-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e0e4f5;
}

.summary-row-order {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 15px;
}

.summary-row-order.total {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 10px;
    border-top: 2px solid var(--primary-color);
}

.billing-section {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;
}

.billing-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.billing-info p {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.6;
}

.billing-info strong {
    color: #1a1a1a;
}

.action-button {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #fb84bb 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.action-button.secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.action-button.secondary:hover {
    background: #f8f9ff;
}

@media (max-width: 968px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    body {
        padding: 20px 15px;
    }
}

@media (max-width: 600px) {
    .success-header h1 {
        font-size: 22px;
    }

    .card-header h2 {
        font-size: 20px;
    }

    .product-header {
        flex-direction: column;
    }

    .product-price {
        margin-left: 0;
        margin-top: 8px;
    }
}

.is-well {
    background-color: transparent !important;
    box-shadow: none !important;
}