/* Social Share Plugin CSS */

/* Modal Container */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
    min-width: 320px;
    overflow: visible;
}

/* Modal Genel Stil */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    position: relative;
    border-bottom: 1px solid #ddd;
}

/* Başlık - sola hizalı */
.modal-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.modal-title i {
    font-size: 1.5em;
    margin-right: 10px;
    color: #337ab7;
}

/* Kapat Butonu - sağ üst köşeye düzgün hizalanmış */
.close {
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    align-self: flex-start;
}

.close:hover {
    color: #000;
}

/* Modal Gövde (İçerik) - sola hizalı yazı */
.modal-body {
    padding: 20px;
    text-align: left;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}


/* Modal Body */
.social-share-modal-body {
    margin-bottom: 20px;
}

.share-text-area, #shareText, #social-share-text {
    width: 100%;
    min-height: 120px;
    max-height: 180px;
    margin: 10px 0;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-size: 15px;
    background: #fafbfc;
    color: #222;
    box-sizing: border-box;
    max-width: 100%;
}

.char-count {
    text-align: right;
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Social Media Buttons */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

.share-button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

/* Font Awesome ikonları için düzenlemeler */
.share-button i,
.share-button .fab,
.share-button .fas {
    font-size: 20px;
    color: white;
    display: inline-block;
    width: auto;
    height: auto;
    line-height: 1;
}

/* Font Awesome ikonları için ek düzenlemeler */
.fab, .fas {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free", "Font Awesome 5 Brands", "Font Awesome 5 Free", "Font Awesome 4.7.0", "Font Awesome 4.7.0" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.share-button:hover {
    opacity: 0.8;
}

.share-button.copy {
    margin-left: 10px;
}

/* Platform-specific button colors */
.twitter { background-color: #1DA1F2; }
.linkedin { background-color: #0077B5; }
.whatsapp { background-color: #25D366; }
.telegram { background-color: #0088cc; }
.instagram { background-color: #E4405F; }
.facebook { background-color: #1877F2; }
.messenger { background-color: #0084FF; }
.email { background-color: #EA4335; }
.gmail { background-color: #EA4335; }

/* MantisBT Stil Butonu */
#share-note-btn svg,
#share-note-btn i,
#share-note-btn .share-icon,
#share-note-btn::before,
#share-note-btn::after {
    display: none !important;
}

#share-note-btn {
    background-color: #f8f8f8 !important;
    color: #333 !important;
    border: 1px solid #ccc !important;
    padding: 4px 8px;
    margin: 0 2px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    box-shadow: none;
    font-weight: 400;
}

#share-note-btn:hover {
    background-color: #e6e6e6 !important;
    color: #222 !important;
    border-color: #adadad !important;
}

/* Responsive Design */
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .share-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .share-button {
        width: 35px;
        height: 35px;
    }
} 