/* Skill Panel Component Styles */
.asc-skills-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-card, rgba(30, 41, 59, 0.95));
    border-radius: var(--radius-md, 12px);
    z-index: 20;
    padding: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-card, 0 8px 32px rgba(0, 0, 0, 0.3));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
    transform-origin: bottom center;
}

.asc-skills-panel--hidden {
    transform: translateY(100%) scale(0.8);
    opacity: 0;
    pointer-events: none;
}

.asc-skills-panel--visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.asc-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
}

.asc-panel-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-primary, #FFFFFF);
    font-weight: 600;
}

.asc-close-panel {
    background: none;
    border: none;
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast, 0.2s ease);
}

.asc-close-panel:hover {
    background: var(--bg-hover, rgba(255, 255, 255, 0.1));
    color: var(--text-primary, #FFFFFF);
}

.asc-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding: 0.5rem;
}

.asc-skill-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card-dark, rgba(17, 24, 39, 0.5));
    border-radius: var(--radius-md, 12px);
    cursor: pointer;
    transition: var(--transition-medium, 0.3s ease);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.asc-skill-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover, 0 12px 40px rgba(0, 0, 0, 0.4));
    border-color: rgba(255, 255, 255, 0.1);
}

.asc-skill-card--disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.asc-skill-card--disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.05);
}

.asc-skill-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    flex-shrink: 0;
    color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.asc-skill-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.asc-skill-name {
    font-weight: bold;
    color: var(--text-primary, #FFFFFF);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.asc-skill-description {
    font-size: 0.875rem;
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    margin-bottom: 0.5rem;
    line-height: 1.4;
    flex: 1;
}

.asc-skill-cost {
    font-size: 0.875rem;
    color: var(--primary-blue-light, #60A5FA);
    font-weight: 600;
}

.asc-no-skills {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    font-style: italic;
}

.asc-no-skills svg {
    font-size: 3rem;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .asc-skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .asc-skills-grid {
        grid-template-columns: 1fr;
    }
    
    .asc-skill-card {
        padding: 0.75rem;
    }
    
    .asc-skill-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}
