/* === ADMIN PANEL SPECIFIC STYLES === */

/* Admin table specific widths */
.admin-table {
    width: 100%;
    table-layout: fixed;
}

.admin-table th,
.admin-table td {
    padding: 8px;
    vertical-align: top;
}

/* Column widths for admin positions table */
.col-position-name {
    width: 25%;
}

.col-description {
    width: 40%;
}

.col-min-rate,
.col-avg-rate {
    width: 80px;
}

.col-action {
    width: 60px;
}

/* Admin input - базовый стиль */
.admin-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.admin-input:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.admin-input:focus {
    outline: none;
    background: rgba(15, 23, 42, 0.95);
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15);
    z-index: 100;
    position: relative;
}

/* Textarea для длинных текстов */
.admin-input-long {
    resize: vertical;
    min-height: 36px;
    max-height: 300px;
    overflow: hidden;
    /* Убран скроллбар из ячеек */
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.4;
}

.admin-input-long:focus {
    min-height: 100px;
    max-height: 400px;
    overflow-y: auto;
    /* Только при focus */
    z-index: 1000;
}

/* Description hint icon in calculator */
.description-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    font-size: 12px;
    color: var(--accent-cyan);
    cursor: help;
    opacity: 0.7;
    transition: 0.2s;
}

.description-hint:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Static name styles */
.position-name-static,
.language-name-static,
.expense-name-static {
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-weight: 500;
}

.language-name-static,
.expense-name-static {
    color: var(--text-secondary);
}