/* Дополнительные стили для калькулятора */

/* Стили для вкладок и кнопок */
.expense-form-tab {
    display: none;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    min-height: 350px;
}

.expense-form-tab.active {
    display: flex;
}

#add-expense-equal-btn,
#add-expense-individual-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#add-expense-equal-btn:hover,
#add-expense-individual-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.3);
}

/* Стили для вкладок переключения */
.expense-type-tabs {
    display: flex;
    gap: 10px;
}

.tab-button {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.tab-button:not(.active):hover {
    border-color: #667eea;
    color: #667eea;
}

/* Стили для чекбоксов участников */
.participant-checkbox {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    display: inline-block;
    margin: 5px;
}

.participant-checkbox:hover {
    border-color: #667eea;
}

.participant-checkbox.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.participants-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Стили для индивидуальных сумм */
.individual-amounts {
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.individual-participant-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.individual-participant-row:hover {
    background: #edf2f7;
}

.participant-amount-input {
    width: 120px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}