/**
 * Auto-Teach Styles
 */

/* Config Modal */
.auto-teach-config {
    padding: 15px;
}

.auto-teach-config__header {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auto-teach-config__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1.1em;
}

.auto-teach-config__title {
    margin-bottom: 10px;
    color: #a855f7;
}

.auto-teach-config__slots {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Teacher Slot - Empty */
.auto-teach-slot--empty {
    padding: 15px;
    border: 2px dashed #444;
    border-radius: 8px;
    color: #666;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(0, 0, 0, 0.2);
}

.auto-teach-slot--empty:hover {
    border-color: #a855f7;
    color: #a855f7;
}

.auto-teach-slot--empty__icon {
    font-size: 1.5em;
    margin-bottom: 5px;
}

/* Teacher Slot - Filled */
.auto-teach-slot {
    padding: 12px;
    border: 2px solid #a855f7;
    border-radius: 8px;
    background: rgba(168, 85, 247, 0.1);
}

.auto-teach-slot--teaching {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.auto-teach-slot__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.auto-teach-slot__info {
    flex: 1;
    cursor: pointer;
    transition: opacity 0.2s;
}

.auto-teach-slot__info:hover {
    opacity: 0.8;
}

.auto-teach-slot__name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.auto-teach-slot__name {
    font-weight: bold;
    font-size: 1.1em;
}

.auto-teach-slot__rank {
    color: #888;
    font-size: 0.9em;
}

.auto-teach-slot__details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85em;
}

.auto-teach-slot__realm {
    color: #4ecdc4;
}

.auto-teach-slot__manual {
    color: #ffd700;
}

.auto-teach-slot__tier {
    color: #fff;
}

.auto-teach-slot__transcend {
    color: #a855f7;
    font-weight: bold;
}

.auto-teach-slot__remove {
    margin-left: 10px;
}

/* Teaching Status */
.auto-teach-status {
    margin-top: 8px;
    padding: 8px;
    border-radius: 5px;
}

.auto-teach-status--teaching {
    background: rgba(78, 205, 196, 0.15);
    border-left: 3px solid #4ecdc4;
}

.auto-teach-status--idle {
    background: rgba(255, 255, 255, 0.05);
    color: #888;
    font-size: 0.85em;
    text-align: center;
    padding: 6px;
}

.auto-teach-status__label {
    color: #4ecdc4;
    font-size: 0.85em;
    margin-bottom: 4px;
}

.auto-teach-status__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auto-teach-status__days {
    color: #ffd700;
    font-size: 0.9em;
}

/* Teacher Selection Modal */
.auto-teach-selection {
    max-height: 400px;
    overflow-y: auto;
}

.auto-teach-selection__empty {
    padding: 20px;
    text-align: center;
    color: #888;
}

.auto-teach-selection__empty-title {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.auto-teach-selection__empty-desc {
    font-size: 0.9em;
}

/* Teacher Option */
.auto-teach-option {
    padding: 12px;
    margin: 8px;
    border: 1px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(0, 0, 0, 0.2);
}

.auto-teach-option:hover {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.auto-teach-option__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.auto-teach-option__name {
    font-weight: bold;
    font-size: 1.1em;
}

.auto-teach-option__rank {
    color: #888;
}

.auto-teach-option__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    font-size: 0.9em;
    color: #aaa;
}

.auto-teach-option__detail-span {
    grid-column: span 2;
}

.auto-teach-option__value--realm {
    color: #4ecdc4;
}

.auto-teach-option__value--manual {
    color: #ffd700;
}

.auto-teach-option__value--tier {
    color: #fff;
}

.auto-teach-option__value--transcend {
    color: #a855f7;
    font-weight: bold;
}
