/* Forms and Controls - Planning controls, inputs, and form elements */

/* Planning Controls */
.planning-controls {
    display: grid;
    gap: 2rem;
}

.control-section {
    background: #F8F9FA;
    border: 2px solid #DEE2E6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.control-section h3 {
    margin: 0 0 1rem 0;
    color: #495057;
    font-size: 1.3rem;
    border-bottom: 2px solid #DEE2E6;
    padding-bottom: 0.5rem;
}

.supply-item {
    margin-bottom: 1rem;
}

.supply-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.qty-btn {
    background: #4ECDC4;
    color: white;
    border: 2px solid #45B7B8;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #45B7B8;
    transform: translateY(-1px);
}

.qty-btn:active {
    transform: translateY(0);
}

.quantity-control input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid #333;
    border-radius: 4px;
    text-align: center;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
}

.cost-display {
    color: #666;
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.max-display {
    color: #007bff;
    font-size: 0.85rem;
    margin: 0.25rem 0;
    font-weight: bold;
}

/* Total Section */
.total-section {
    background: linear-gradient(135deg, #FFE082 0%, #FFD54F 100%);
    border: 3px solid #FFA000;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.total-cost h3 {
    margin: 0 0 0.5rem 0;
    color: #E65100;
    font-size: 1.4rem;
}

.remaining-money {
    color: #2E7D32;
    font-weight: bold;
    margin: 0.5rem 0 1rem 0;
}

.start-day-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45A049 100%);
    color: white;
    border: 3px solid #388E3C;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.start-day-btn:hover {
    background: linear-gradient(135deg, #45A049 0%, #388E3C 100%);
    transform: translateY(-2px);
    box-shadow: 4px 4px 8px rgba(0,0,0,0.3);
}

.start-day-btn:disabled {
    background: #ccc;
    border-color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Planning Actions */
.planning-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.bank-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    border: 3px solid #FF8C00;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.bank-btn:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    transform: translateY(-2px);
    box-shadow: 4px 4px 8px rgba(0,0,0,0.3);
}

/* Bank Modal Styles */
.bank-balance {
    background: #F8F9FA;
    border: 2px solid #DEE2E6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.bank-balance p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.bank-actions {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.action-section {
    background: #F8F9FA;
    border: 2px solid #DEE2E6;
    border-radius: 8px;
    padding: 1rem;
}

.action-section h4 {
    margin: 0 0 1rem 0;
    color: #495057;
    font-size: 1.1rem;
}

.savings-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.savings-input input {
    flex: 1;
    padding: 0.5rem;
    border: 2px solid #DEE2E6;
    border-radius: 4px;
    font-size: 1rem;
}

.savings-input button {
    background: #28a745;
    color: white;
    border: 2px solid #1e7e34;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.savings-input button:hover {
    background: #1e7e34;
    transform: translateY(-1px);
}
