﻿/* Modal arka planı */
.share-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    justify-content: center;
    align-items: center;
}

/* Modal kutusu */
.share-modal {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
    width: 320px;
    max-width: 90%;
    padding: 20px;
    position: relative;
    z-index: 9999;
}

/* Modal başlık */
.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

    .share-modal-header h3 {
        margin: 0;
        font-size: 18px;
        color: #333;
    }

.share-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 0;
}

    .share-modal-close:hover {
        color: #333;
    }

/* Sosyal medya ikonları container */
.share-modal-social {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Sosyal medya butonları */
.share-social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    text-decoration: none;
    transition: transform 0.2s ease;
    width: 60px;
}

    .share-social-btn:hover {
        transform: translateY(-5px);
    }

    .share-social-btn .icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 5px;
    }

        .share-social-btn .icon i {
            color: white;
            font-size: 20px;
        }

    .share-social-btn .name {
        font-size: 12px;
        color: #666;
        text-align: center;
    }

/* Sosyal medya ikonları renkleri */
.facebook .icon {
    background-color: #3b5998;
}

.twitter .icon {
    background-color: #1da1f2;
}

.linkedin .icon {
    background-color: #0077b5;
}

.whatsapp .icon {
    background-color: #25d366;
}

.telegram .icon {
    background-color: #0088cc;
}

/* URL kopyalama alanı */
.share-modal-url {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

    .share-modal-url input {
        flex: 1;
        border: none;
        background: transparent;
        color: #666;
        font-size: 14px;
        padding: 0;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .share-modal-url button {
        background: none;
        border: none;
        color: #1d85e5;
        font-weight: bold;
        cursor: pointer;
        padding: 0 0 0 10px;
        font-size: 14px;
        white-space: nowrap;
    }

/* Kopyalama onay bildirimi */
.copy-notification {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
}

    .copy-notification.active {
        opacity: 1;
        bottom: -40px;
    }

/* Animasyonlar */
@@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-modal {
    animation: modalFadeIn 0.3s ease forwards;
}



.favorites-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    justify-content: center;
    align-items: center;
}

.favorites-modal {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    width: 400px;
    max-width: 90%;
    position: relative;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.favorites-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

    .favorites-modal-header h3 {
        margin: 0;
        font-size: 18px;
        color: #333;
        font-weight: 500;
    }

.favorites-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    line-height: 1;
}

    .favorites-modal-close:hover {
        color: #333;
    }

.favorites-modal-body {
    padding: 15px 20px;
    max-height: 300px;
    overflow-y: auto;
}

.favorites-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.favorites-list-item {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .favorites-list-item:last-child {
        border-bottom: none;
    }

    .favorites-list-item:hover {
        background-color: #f9f9f9;
    }

.new-list-form {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.new-list-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    margin-bottom: 10px;
}

    .new-list-input:focus {
        border-color: #4d90fe;
        outline: none;
    }

.kaydet-btn {
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    float: right;
}

    .kaydet-btn:hover {
        background-color: #0b5ed7;
    }

    .kaydet-btn:disabled {
        background-color: #89b4f7;
        cursor: not-allowed;
    }

/* Kırmızı kalp rengi */
.color-red {
    color: #e74c3c;
}

/* Bildirim stil */
.favorites-notification {
    position: fixed;
    bottom: -200px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}

    .favorites-notification.active {
        bottom: 20px;
        opacity: 1;
        transform: translateY(0);
    }

/* Liste yükleniyor göstergesi */
.list-loading {
    text-align: center;
    padding: 20px 0;
    color: #666;
}

/* Liste boş durumu */
.list-empty {
    text-align: center;
    padding: 20px 0;
    color: #666;
    font-style: italic;
}