/**
 * Share Modal Styles
 * Sosyal Medya Paylaşım Sistemi
 */

/* Modal için sabit boyut */
.share-modal .smodal-box,
.scream-modal .smodal-box {
    min-width: 380px;
    max-width: 420px;
}

.share-modal .smodal-body,
.scream-modal .smodal-body {
    min-height: auto;
    overflow: visible;
}

/* Modal Content */
.share-modal-content {
    padding: 5px 0;
    min-width: 100%;
    width: 100%;
}

/* Sayfa Önizleme */
.share-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 20px;
}

.share-preview-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.share-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.share-preview-info {
    flex: 1;
    min-width: 0;
}

.share-preview-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 6px;
    word-break: break-word;
}

.share-preview-url {
    font-size: 12px;
    color: #64748b;
    word-break: break-all;
}

/* Sosyal Medya Butonları */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 15px 10px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    opacity: .7;
}

.share-btn i {
    font-size: 22px;
}

.share-btn span {
    font-size: 11px;
}

.share-btn:hover {
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn:active {
    transform: translateY(0);
}

/* Sosyal Medya Renkleri */
.share-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.share-btn-twitter {
    background: linear-gradient(135deg, #1a1a1a, #333);
}

.share-btn-facebook {
    background: linear-gradient(135deg, #1877F2, #0d65d9);
}

.share-btn-linkedin {
    background: linear-gradient(135deg, #0A66C2, #004182);
}

.share-btn-telegram {
    background: linear-gradient(135deg, #0088CC, #006699);
}

.share-btn-email {
    background: linear-gradient(135deg, #EA4335, #c5221f);
}

/* Link Kopyalama */
.share-copy-section {
    margin-top: 15px;
}

.share-copy-input {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
}

.share-copy-input input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 13px;
    color: #475569;
    outline: none;
    min-width: 0;
}

.share-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #3d618d;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.share-copy-btn:hover {
    background: #2d4a6d;
}

.share-copy-btn.copied {
    background: #10b981;
}

.share-copy-btn i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 450px) {
    .share-modal .smodal-box,
    .scream-modal .smodal-box {
        min-width: auto;
        max-width: 100%;
        margin: 0 10px;
    }

    .share-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .share-preview {
        flex-direction: column;
        text-align: center;
    }

    .share-preview-image {
        width: 60px;
        height: 60px;
    }
}

