
.scart-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 900px;
    background: linear-gradient(135deg, #ff8a00, #e52d27); 
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 100px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(229, 45, 39, 0.35);
    animation: scartSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15) forwards;
}
.scart-bar-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.scart-bar-icon-wrap {
    position: relative;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}
.scart-bar-icon-wrap i {
    font-size: 14px;
    color: #ffffff;
    z-index: 2;
}
.scart-bar-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    animation: scartPulseRing 2s infinite ease-in-out;
    z-index: 1;
}
.scart-bar-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}
.scart-bar-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
}
.scart-bar-desc {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 600;
}
.scart-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.scart-bar-badge {
    background: rgba(0, 0, 0, 0.15);
    color: #ffea7a; 
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.scart-bar-btn {
    background: #ffffff; 
    color: #e52d27 !important; 
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.scart-bar-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background: #fff8f5;
    color: #ff3c00 !important;
}
.scart-bar-btn:active {
    transform: translateY(0);
}
.scart-bar-btn-leave {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 14px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.scart-bar-btn-leave:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}
.scart-bar-btn-leave:active {
    transform: translateY(0);
}


.scart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: scartFadeIn 0.3s ease;
}
.scart-modal {
    background: #fff;
    border-radius: 24px;
    width: 90%;
    max-width: 420px;
    padding: 36px 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: scale(0.9);
    animation: scartScaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15) forwards;
}
.scart-modal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.1), rgba(229, 45, 39, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 1px solid rgba(255, 138, 0, 0.2);
}
.scart-modal-icon i {
    font-size: 24px;
    color: #ff8a00;
}
.scart-modal h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: #0f172a;
    font-weight: 800;
}
.scart-modal p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px 0;
}
.scart-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 24px;
    outline: none;
    transition: all 0.25s ease;
    text-align: center;
    color: #0f172a;
}
.scart-input:focus {
    border-color: #ff8a00;
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.15);
}
.scart-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #ff8a00, #e52d27);
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 16px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(229, 45, 39, 0.3);
    transition: all 0.3s ease;
}
.scart-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(229, 45, 39, 0.45);
    filter: brightness(1.05);
}


@keyframes scartPulseRing {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0.5; }
}
@keyframes scartSlideUp {
    from { transform: translateX(-50%) translateY(120px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
@keyframes scartFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scartScaleUp {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes scartSlideDown {
    from { transform: translateX(-50%) translateY(-120px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}


@media (max-width: 1024px) {
    .scart-bar {
        bottom: 12px;
        top: auto;
        width: calc(100% - 16px);
        border-radius: 100px;
        padding: 6px 12px;
        gap: 6px;
        justify-content: space-between;
        animation: scartSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15) forwards;
    }
    .scart-bar-info {
        gap: 8px;
        flex-shrink: 1;
        min-width: 0;
    }
    .scart-bar-icon-wrap {
        width: 32px;
        height: 32px;
    }
    .scart-bar-icon-wrap i {
        font-size: 12px;
    }
    .scart-bar-text {
        min-width: 0;
    }
    .scart-bar-title {
        font-size: 12px;
        letter-spacing: 0.3px;
    }
    .scart-bar-actions {
        gap: 5px;
        flex-shrink: 0;
    }
    .scart-bar-badge {
        padding: 5px 8px;
        font-size: 10px;
        gap: 4px;
    }
    .scart-bar-badge i {
        font-size: 10px;
    }
    .scart-bar-btn {
        padding: 7px 11px;
        font-size: 10px;
        gap: 4px;
    }
    .scart-bar-btn i {
        font-size: 10px;
    }
    .scart-bar-btn-leave {
        padding: 7px 9px;
        font-size: 10px;
        gap: 4px;
    }
    .scart-bar-btn-leave i {
        font-size: 10px;
    }
}
