﻿.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.share-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.social-icons {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

    .social-icons button {
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

    .social-icons img {
        width: 40px;
        height: 40px;
    }

.copy-link {
    display: flex;
    margin-top: 15px;
}

    .copy-link input {
        flex-grow: 1;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px 0 0 4px;
    }

    .copy-link button {
        padding: 8px 12px;
        background: #4CAF50;
        color: white;
        border: none;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
    }

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}



/* CSS Loader Styles */
.loader {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}


.inline-flex {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Loader Styles */
.cart-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-loader-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Disabled State */
.btn-disabled {
    position: relative;
    opacity: 0.8;
    cursor: not-allowed;
}