/**
 * ========================================
 * NYMIA FOLLOWERS SYSTEM - STYLES
 * ========================================
 * All followers/following popup CSS
 * 
 * @package Nymia
 * @version 1.0
 */

/* ==========================================
   MODAL OVERLAY
   ========================================== */
#nymia-followers-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#nymia-followers-modal.active {
    display: flex;
    opacity: 1;
}

/* ==========================================
   MODAL CONTENT
   ========================================== */
.nymia-followers-modal-content {
    background: #161616;
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid #2a2a2a;
}

#nymia-followers-modal.active .nymia-followers-modal-content {
    transform: scale(1);
}

/* ==========================================
   MODAL HEADER
   ========================================== */
.nymia-followers-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    border-bottom: 1px solid #2a2a2a;
    flex-shrink: 0;
}

#nymia-followers-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.nymia-followers-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.nymia-followers-modal-close:hover {
    background: #2a2a2a;
    color: #ffffff;
}

/* ==========================================
   MODAL BODY
   ========================================== */
#nymia-followers-modal-body {
    padding: 20px 30px;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
    flex: 1;
}

/* ==========================================
   FOLLOWER ITEMS
   ========================================== */
.nymia-followers-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #2a2a2a;
    gap: 15px;
}

.nymia-followers-item-wrapper:last-child {
    border-bottom: none;
}

.nymia-followers-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.nymia-followers-item:hover {
    background: #2a2a2a;
}

.nymia-followers-item-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2a2a2a;
    flex-shrink: 0;
}

.nymia-followers-item-info {
    flex: 1;
    min-width: 0;
}

.nymia-followers-item-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9375rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nymia-followers-item-username {
    color: #999;
    font-size: 0.8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================
   ACTION BUTTONS
   ========================================== */
.nymia-user-list-action-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.nymia-user-list-action-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.nymia-user-list-action-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(220, 53, 69, 0.2);
}

.nymia-user-list-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}



.nymia-unfollow-btn {
    background: #dc3545 !important;
}

.nymia-unfollow-btn:hover {
    background: #c82333 !important;
}

/* ==========================================
   CUSTOM CONFIRMATION DIALOG
   ========================================== */
.nymia-confirm-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nymia-confirm-dialog.active {
    display: flex;
    opacity: 1;
}

.nymia-confirm-dialog-content {
    background: #161616;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 1px solid #2a2a2a;
}

.nymia-confirm-dialog.active .nymia-confirm-dialog-content {
    transform: scale(1);
}

.nymia-confirm-dialog-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffc107;
}

.nymia-confirm-dialog-icon svg {
    width: 30px;
    height: 30px;
}

.nymia-confirm-dialog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px;
}

.nymia-confirm-dialog-message {
    font-size: 1rem;
    color: #999;
    margin: 0 0 25px;
    line-height: 1.5;
}

.nymia-confirm-dialog-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.nymia-confirm-btn-cancel,
.nymia-confirm-btn-confirm {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    max-width: 150px;
}

.nymia-confirm-btn-cancel {
    background: #f5f5f5;
    color: #333;
}

.nymia-confirm-btn-cancel:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

.nymia-confirm-btn-confirm {
    background: #dc3545;
    color: white;
}

.nymia-confirm-btn-confirm:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* ==========================================
   MODAL FOOTER
   ========================================== */
.nymia-followers-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    text-align: center;
    flex-shrink: 0;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 480px) {
    .nymia-followers-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .nymia-followers-modal-header {
        padding: 20px;
    }

    #nymia-followers-modal-body {
        padding: 15px 20px;
    }

    .nymia-followers-item-avatar {
        width: 40px;
        height: 40px;
    }

    .nymia-user-list-action-btn {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
}