/* Unlearn Modal Styles */
#unlearn-modal {
    z-index: 2147483647 !important; /* Maximum z-index to appear above discoveries */
}

.unlearn-modal {
    background: linear-gradient(135deg, rgba(30,30,30,0.98) 0%, rgba(40,40,50,0.98) 100%);
    border: 2px solid rgba(255,100,100,0.5);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    animation: modalSlideIn 0.3s ease-out;
}

.unlearn-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: #ff6b6b;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.unlearn-element-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
}

.unlearn-element-display img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

#unlearn-element-name {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
}

.unlearn-info {
    text-align: center;
    margin: 20px 0;
}

.unlearn-description {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin-bottom: 20px;
}

.unlearn-details {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
}

#unlearn-points {
    color: #ff6b6b;
}

.unlearn-tip {
    color: rgba(255,215,0,0.8);
    font-size: 14px;
    font-style: italic;
    margin-top: 15px;
}

.unlearn-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.unlearn-btn-confirm,
.unlearn-btn-cancel {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.unlearn-btn-confirm {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
}

.unlearn-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,107,107,0.4);
}

.unlearn-btn-cancel {
    background: linear-gradient(135deg, #4a4a4a 0%, #6a6a6a 100%);
    color: white;
}

.unlearn-btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(100,100,100,0.4);
}