/**
 * AMFR Share Module Styles
 * Version: 1.2.0
 * Platform: AMFR 3.1 LTS
 */

.amfr-share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.amfr-share-modal-container {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    background: linear-gradient(145deg, rgba(14, 12, 8, 0.98), rgba(4, 4, 4, 0.99));
    border: 1px solid rgba(215, 166, 60, 0.6);
    border-radius: 18px;
    box-shadow: 0 0 30px rgba(215, 166, 60, 0.25), 0 20px 60px rgba(0, 0, 0, 0.9);
    padding: 24px 20px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.amfr-share-modal-header {
    text-align: center;
    margin-bottom: 16px;
}

.amfr-share-modal-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #f1ca72;
    text-shadow: 0 0 10px rgba(215, 166, 60, 0.35);
}

.amfr-share-modal-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
    overflow-y: auto;
}

.amfr-share-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amfr-share-active-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.amfr-share-comingsoon-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid rgba(215, 166, 60, 0.2);
    padding-top: 12px;
}

.amfr-share-btn {
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid rgba(215, 166, 60, 0.5);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    background: linear-gradient(180deg, #17130a, #080706);
    color: #f1ca72;
    box-shadow: 0 0 8px rgba(215, 166, 60, 0.15);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.amfr-share-btn:hover {
    transform: translateY(-2px);
    background: rgba(215, 166, 60, 0.18);
    border-color: #f1ca72;
    box-shadow: 0 0 14px rgba(215, 166, 60, 0.4);
    color: #ffffff;
}

.amfr-share-coming-soon {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(180deg, #101010, #050505);
    border-color: rgba(255, 255, 255, 0.1);
    color: #aaaaaa;
}

.amfr-share-coming-soon:hover {
    transform: none;
    background: linear-gradient(180deg, #101010, #050505);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    color: #aaaaaa;
}

.amfr-badge-coming-soon {
    font-size: 0.75rem;
    color: #d7a63c;
    margin-left: 6px;
    font-weight: normal;
}

.amfr-share-modal-footer {
    display: flex;
    flex-direction: column;
}

.amfr-share-close-btn {
    background: linear-gradient(180deg, #151515, #050505);
    color: #cccccc;
    border-color: rgba(215, 166, 60, 0.3);
    grid-column: span 2;
}

.amfr-share-close-btn:hover {
    color: #ffffff;
    border-color: #f1ca72;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 480px) {
    .amfr-share-modal-container {
        padding: 16px 12px;
        max-width: 100%;
        max-height: 95vh;
    }

    .amfr-share-active-section {
        grid-template-columns: 1fr;
    }

    .amfr-share-close-btn {
        grid-column: span 1;
    }

    .amfr-share-modal-title {
        font-size: 1.2rem;
    }

    .amfr-share-btn {
        min-height: 38px;
        font-size: 0.85rem;
    }
}
.amfr-share-modal-close {
    background: linear-gradient(180deg, #151515, #050505);
    color: #cccccc;
    border: 1px solid rgba(215, 166, 60, 0.3);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 600;
}

.amfr-share-modal-close:hover {
    color: #ffffff;
    border-color: #f1ca72;
    box-shadow: 0 0 14px rgba(215, 166, 60, 0.4);
}
