/* Share modal — self-contained (no Bootstrap utilities required) */

.share_modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.share_modal .modal-content {
    position: relative;
    background-color: #fff;
    margin: 8% auto;
    padding: 24px 28px 28px;
    border: 1px solid #e5e7eb;
    width: 90%;
    max-width: 560px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.share_modal .modal-body {
    padding: 0 !important;
}

.share_modal .close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.share_modal .close-modal:hover,
.share_modal .close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.share_modal .modal-title {
    font-weight: 700;
    margin: 0 0 10px;
    text-align: center;
    font-size: 1.15rem;
    color: #1e1e1e;
}

.share_modal .modal-body > p,
.share_modal .text-center {
    text-align: center !important;
    color: #1e1e1e;
    margin: 0 0 8px;
}

.share_modal .circle-close-modal {
    position: absolute;
    top: 14px;
    inset-inline-end: 16px;
    cursor: pointer;
    font-size: 25px;
    color: #5b5b5b;
    line-height: 1;
    z-index: 2;
}

.share_modal .circle-close-modal:hover {
    color: #111;
}

.share_modal .social-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 12px 28px;
    margin: 28px 0 8px;
}

.share_modal .share-btn {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
}

.share_modal .share-btn .circle-btn {
    border-radius: 50%;
    border: 1.5px solid #cfcfcf;
    color: #565872;
    width: 50px;
    height: 50px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    background: #fff;
}

.share_modal .share-btn .circle-btn:hover {
    border-color: #94a3b8;
    color: #1e293b;
}

.share_modal .share-btn span {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.2;
}

.share_modal .link-input {
    border-radius: 8px;
    padding: 14px 16px;
    border: 1px solid #e2e2e2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    margin-top: 28px;
    background: #fff;
}

.share_modal .link-input .copy-link {
    color: var(--secondary-color, #2563eb);
    text-decoration: none !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 600;
    font-size: 14px;
    padding: 0;
}

.share_modal .link-input .link-text {
    color: #1e1e1e;
    font-size: 14px;
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-all;
    direction: ltr;
    text-align: start;
}
