/* Blacklist Modal */
.blacklist-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    z-index: var(--z-index-max);
}

.blacklist-modal:not(.hidden) {
    display: flex;
}

.blacklist-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00ff88;
    border-radius: 15px;
    padding: 30px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.blacklist-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #00ff88;
}

.blacklist-modal-header h3 {
    color: #00ff88;
    font-size: 1.5rem;
    text-shadow: 0 0 10px #00ff88;
}

.blacklist-modal-close {
    background: none;
    border: none;
    color: #00ff88;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, border 0.3s ease, opacity 0.3s ease;
    line-height: 1;
}

.blacklist-modal-close:hover {
    color: #ff4444;
    transform: rotate(90deg);
}

.blacklist-info {
    background: rgba(255, 255, 0, 0.1);
    border: 2px solid #ffcc00;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.blacklist-info h3 {
    color: #ffcc00;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 10px;
}

.blacklist-info h4 {
    color: #ffaa00;
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(255, 170, 0, 0.5);
}

.blacklist-info p {
    color: #ffcc00;
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.blacklist-info ul {
    color: #ffcc00;
    font-size: 0.85rem;
    margin-left: 20px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blacklist-info li {
    margin-bottom: 5px;
}

.blacklist-list {
    margin-bottom: 20px;
}

.blacklist-item {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid #00ff88;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.blacklist-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.blacklist-item-company {
    font-size: 1.2rem;
    color: #00ff88;
    font-weight: 600;
}

.blacklist-item-type {
    background: #ff4444;
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
}

.blacklist-item-details {
    color: #00cc66;
    font-size: 0.9rem;
}

.blacklist-item-details div {
    margin-bottom: 5px;
}

.add-blacklist-btn {
    width: 100%;
    background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-blacklist-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.5);
}

.blacklist-form .form-group {
    margin-bottom: 15px;
}

.blacklist-form .form-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 20px;
    align-items: center;
}

.blacklist-form .submit-btn {
    flex: 1;
    margin-right: 8px;
}

.blacklist-form .cancel-btn {
    flex: 1;
    margin-left: 8px;
}

.blacklist-form label {
    display: block;
    color: #00ff88;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.blacklist-form input,
.blacklist-form select {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ff88;
    border-radius: 5px;
    color: #00ff88;
    font-family: 'JetBrains Mono', monospace;
}

.blacklist-form input[type="file"] {
    padding: 5px;
}

.blacklist-form input:focus,
.blacklist-form select:focus {
    outline: none;
    border-color: #00cc66;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

