﻿.main-order-cont {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.result-container {
    z-index: 999;
    top: 0;
    left: 0;
    width: auto;
    background-color: transparent;
    padding: 35px;
}

.result-card {
    overflow: hidden;
    position: relative;
    text-align: center;
    border-radius: 0.5rem;
    width: 600px;
    height: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.result-header {
    padding: 1.25rem 1rem 1rem 1rem;
}

.result-image {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    background-color: #e2feee;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    animation: animate .6s linear alternate-reverse infinite;
    transition: .6s ease;
    font-size:2rem;
}


.result-content {
    margin-top: 0.75rem;
    text-align: center;
}

.result-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
}

.result-summary {
    color: black;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
}

.result-message {
    margin-top: 0.5rem;
    color: #595b5f;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* Margin pentru butonul back */
.details-margin-bottom {
    margin-bottom: 35px;
}

/* Fundal success/error pentru icon */
.result-success-bg {
    background-color: #e2feee;
}

.result-error-bg {
    background-color: rgba(255, 99, 71, 0.5);
}

/* Culoare icon success/error */
.result-icon-success {
    color: green;
}

.result-icon-error {
    color: red;
}

/* Titlu success/error */
.result-title-success {
    color: #066e29;
}

.result-title-error {
    color: red;
}

/* Linie orizontala */
.result-hr {
    margin: 10px 0;
}


@keyframes animate {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.09);
    }
}

@media (max-width: 768px) {
    .result-card {
        width:auto;
        height:auto;
    }
    .result-container{
        padding-top:100px;
    }
