.gm-recesso-container{
    max-width:700px;
    margin:40px auto;
    padding:30px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
}

.gm-title{
    margin-bottom:10px;
}

.gm-description{
    margin-bottom:25px;
    color:#666;
}

.gm-field{
    margin-bottom:20px;
}

.gm-field label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.gm-field input{
    width:100%;
    padding:12px 15px;
    border:1px solid #d1d5db;
    border-radius:8px;
    box-sizing:border-box;
    transition:.2s;
}

.gm-field input:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:
        0 0 0 3px rgba(37,99,235,.15);
}

.gm-recesso-button{
    padding:12px 20px;
    font-weight:600;
    cursor:pointer;
    transition:all .2s ease;
    text-decoration:none;
    display:inline-block;
}

#gm-recesso-message{
    margin-bottom:20px;
}

.gm-message-success{
    padding:15px;
    background:#ecfdf5;
    border:1px solid #10b981;
    border-radius:8px;
}

.gm-message-error{
    padding:15px;
    background:#fef2f2;
    border:1px solid #ef4444;
    border-radius:8px;
}

#gm-step-orders,
#gm-step-products,
#gm-step-confirm{
    margin-top:25px;
}

/* ==========================
   SELECT ORDINI
========================== */

/* ==========================
   CARD ORDINI
========================== */

.gm-order-list{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.gm-order-card{
    border:1px solid #ddd;
    border-radius:10px;
    padding:18px;
    background:#fff;
    cursor:pointer;
    transition:all .2s ease;
}

.gm-order-card:hover{
    border-color:#333092;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.gm-order-card.selected{
    border-color:#333092;
    background:#f5f5ff;
}

.gm-order-number{
    font-size:18px;
    font-weight:700;
    margin-bottom:8px;
}

.gm-order-date{
    color:#666;
    margin-bottom:6px;
}

.gm-order-total{
    font-weight:600;
}

.gm-products-grid{
    display:grid;
    grid-template-columns:
        repeat(auto-fill,minmax(220px,1fr));
    gap:20px;
    margin-top:20px;
}

.gm-product-card{
    border:1px solid #ddd;
    border-radius:10px;
    padding:15px;
    cursor:pointer;
    background:#fff;
    transition:all .2s ease;
}

.gm-product-card:hover{
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.gm-product-card.selected{
    border:2px solid #333092;
    background:#f4f4ff;
    box-shadow:0 0 12px rgba(51,48,146,.25);
}

.gm-product-image img{
    width:100%;
    height:auto;
    border-radius:6px;
}

.gm-product-title{
    margin-top:10px;
    font-weight:600;
}

.gm-product-price{
    margin-top:5px;
    font-weight:700;
}

.gm-product-selection-message{
    text-align:center;
    margin-top:30px;
    margin-bottom:20px;
    font-weight:600;
    color:#666;
}

#gm-submit-container{
    text-align:center;
    margin-top:35px;
}

#gm-submit-products{
    min-width:280px;
}

.gm-order-selected{
    border:2px solid #333092;
    background:#f5f5ff;
    box-shadow:
        0 0 15px rgba(51,48,146,.20);
}

/* ==========================
   LOADER
========================== */

#gm-loader{
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;

    background:rgba(255,255,255,.85);

    display:none;

    z-index:999999;

    align-items:center;
    justify-content:center;
    flex-direction:column;
}

#gm-loader.active{
    display:flex;
}

.gm-loader-spinner{
    width:60px;
    height:60px;

    border:5px solid #e5e5e5;
    border-top:5px solid #333092;

    border-radius:50%;

    animation:
        gm-spin 1s linear infinite;
}

.gm-loader-text{
    margin-top:15px;
    font-size:16px;
    font-weight:600;
}

@keyframes gm-spin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}