.net-worth-calculator {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.net-worth-calculator h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
}

.currency-selector {
    text-align: center;
    margin-bottom: 20px;
}

.currency-selector label {
    margin-right: 10px;
    color: #2c3e50;
}

.currency-selector select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.form-section {
    margin: 20px 0;
}

.form-section h3 {
    color: #3498db;
    margin-bottom: 15px;
}

input[type="number"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="number"]:focus {
    border-color: #3498db;
    outline: none;
}

.button-group {
    text-align: center;
    margin: 20px 0;
}

button一体 {
    padding: 12px 25px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s, background-color 0.3s;
}

#calculateBtn {
    background: #2ecc71;
    color: white;
}

#resetBtn {
    background: #e74c3c;
    color: white;
}

button:hover {
    transform: scale(1.05);
}

#calculateBtn:hover {
    background: #27ae60;
}

#resetBtn:hover {
    background: #c0392b;
}

.result {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    margin-top: 20px;
}

#netWorthResult {
    color: #2c3e50;
    font-weight: bold;
}

.commentary {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 480px) {
    .net-worth-calculator {
        margin: 10px;
        padding: 15px;
    }
    
    button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .currency-selector {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .currency-selector select {
        margin-top: 10px;
        width: 100%;
    }
}