.transaction {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.order {
    background: white;
    border-radius: 8px;
    border: 2px solid rgb(233, 236, 239);
    box-shadow: 0 4px 15px rgba(68, 20, 78, 0.1);
    max-width: 600px;
    width: 100%;
    padding: 40px;
    text-align: center;
}

.order.entrada{
    max-width: 100%;
    padding: 15px;
}

.success-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: scaleIn 0.5s ease-out;
}

.success-icon i {
    color: #10b981;    
    font-size: 60px;
    font-weight: bold;
}


.error-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: shake 0.5s ease-out;
}

.error-icon i {
    color: #dc3545;
    font-size: 60px;
    font-weight: bold;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.order-details {
    background: #f9fafb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #6b7280;
    font-size: 14px;
}

.detail-value {
    color: #1f2937;
    font-weight: 600;
    font-size: 14px;
}

.message {
    color: #6b7280;
    font-size: 18px;
    margin-top: 24px;
}


@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.order h1 {
    color: #1f2937;
    font-size: 2.3rem;
    margin-bottom: 12px;
}

.order h2 {
    font-size: 1.9rem;
}

.order .subtitle {
    color: #6b7280;
    font-size: 1.7rem;
    margin-bottom: 32px;
}

.error-details {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 32px;
    text-align: left;
}

.error-title {
    color: #991b1b;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.error-message {
    color: #7f1d1d;
    font-size: 14px;
    line-height: 1.6;
}

.common-reasons {
    background: #f9fafb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.common-reasons h3 {
    color: #1f2937;
    font-size: 16px;
    margin-bottom: 16px;
}

.common-reasons ul {
    list-style: none;
}

.common-reasons li {
    color: #6b7280;
    font-size: 14px;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.common-reasons li::before {
    content: '•';
    color: #ef4444;
    font-size: 20px;
    position: absolute;
    left: 8px;
    top: 4px;
}

.order-buttons,
.button-container
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.button-container {
    justify-content: space-between;
}

.button-container.contacto{
    justify-content: center;

} 

    .order-buttons .button {
        width: 48%;
        margin: 0;
    }


.button {
    display: inline-block;
    background: var(--main-color);
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 8px;
}

.button.full-width {
    width: 100%;
    display: block;
}

.button.only-mobile {
    display: none;
}

.button.small {
    padding: 10px 10px;
    font-size: 12px;
}

.button.medium {
    padding: 12px 24px;
    font-size: 14px;
}


.button.extra-large {
    padding: 16px 40px;
    font-size: 22px;
}

.button.extra-large i {
font-size: 40px;
margin: 15px;
}

.button:hover {
    background: #e5e7eb;
    color: var(--main-color);
}

.button-secondary {
    background: #f3f4f6;
    color: var(--main-color);
}

.button-secondary:hover {
    background: #e5e7eb;
}

.support-message {
    color: #6b7280;
    font-size: 14px;
    margin-top: 24px;
}

.support-message a {
    color: #667eea;
    text-decoration: none;
}

.support-message a:hover {
    text-decoration: underline;
}


@media (max-width: 1200px) {
    .order-buttons .button 
    {
        width: 100%;
    }

}

@media (max-width: 480px) {
    
    .transaction
    {
        padding: 0;
    }

    .order
    {
        padding: 15px;
    }

    .button {
        width: 100%;
        margin-left: 0;
        margin-right:  0;
    }
    .button.only-mobile {
        display: inline-block;
    }

    .button.small {
        padding: 10px 10px;
        font-size: 16px;
    }

    .button.medium {
        padding: 15px 5px;
        font-size: 1.8rem;
    }
}